Results 1 to 9 of 9

Thread: keeping kactor awake

  1. #1
    Shades of Chaos
    Guest

    keeping kactor awake

    Hey guys,

    How do I keep a KActor awake at all times? Not just at level start but forever.

    Thanks

  2. #2
    Graylord
    Guest
    Once they are awake, they will stay awake. AFAIK.

  3. #3
    JessieG
    Guest
    Yep, they're always awake when they're activated.

    Do you just have the settings too low to get good friction from them and it seems like they're not moving?

  4. #4
    BmB23
    Guest
    Pretty sure you wouldn't want that. They fall asleep when not moving to save perf(massive perf). The switch is just so that it will simulated right at the start of the level, but you don't need to start it awake if it's just lying on the ground.

  5. #5
    Spoof
    Guest
    You can also set the SleepFamily of the mesh's BodySetup to sensitive, but you probably won't be able to keep it awake unless you 'poke' it with forces, contacts or continuously call WakeRigidBody in every frame.

  6. #6
    JessieG
    Guest
    Quote Originally Posted by BmB23 View Post
    Pretty sure you wouldn't want that. They fall asleep when not moving to save perf(massive perf). The switch is just so that it will simulated right at the start of the level, but you don't need to start it awake if it's just lying on the ground.
    For all we know he may have a viable reason to have a kactor always awake. They don't HAVE to be used for just random objects laying on the ground that occasionally move if you shoot them.

  7. #7
    Shades of Chaos
    Guest
    I am trying to get a dynamic trigger to work when it hits a KActor but the trigger only fires when the KActor is awake.

  8. #8
    BmB23
    Guest
    There's no particularly good reason, if it's always moving it will never fall asleep.

  9. #9
    JessieG
    Guest
    Quote Originally Posted by BmB23 View Post
    There's no particularly good reason, if it's always moving it will never fall asleep.
    Scenes that involve zero gravity with things floating and interacting with proper physics? Underwater scenes that may have a constant current moving objects around?

    There's plenty of reasons that someone may want a specific method of doing something. Just because it may have some sort of impact on performance doesn't mean it's not useful. Especially if constantly moving is the desired effect. No one puts a kactor in a scene for it to be asleep all the time and some people may not want that at all. And in his case, the reasoning makes sense as well.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •