Skip to content

Triggers & Proxy volumes that can potentially move frequently - Static or Kinematic? #132

Answered by RossNordby
Frooxius asked this question in Q&A
Discussion options

You must be logged in to vote

(oops, I thought I already responded to this!)

A couple of considerations:

  1. While the static optimizations haven't been pushed as far as they could be yet, it'll happen eventually, and frequently moving statics will not play well with it.
  2. Statics cannot detect collisions with other statics or sleeping bodies. They exist within the same tree, and that tree is not tested against itself for collision detection.

So if you expect a trigger to move a lot, or if you want it to detect statics or inactive bodies, it should be a kinematic. Probably with its sleep threshold set to a negative value to guarantee it never sleeps, unless you are comfortable manually waking it up as needed.

The velocity…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by Frooxius
Comment options

You must be logged in to vote
1 reply
@RossNordby
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants