How do I get a collision event from a KActor subclass?

Posted by Almo on Game Development See other posts from Game Development or by Almo
Published on 2012-10-26T19:54:52Z Indexed on 2012/10/26 23:18 UTC
Read the original article Hit count: 138

Filed under:
|

I have a subclass of KActor, and I want an event when it collides with things.

event RigidBodyCollision seems to be what I want according to this http://wiki.beyondunreal.com/UE3:Actor_events_%28UDK%29#RigidBodyCollision

Called when a PrimitiveComponent this Actor owns has:
-bNotifyRigidBodyCollision set to true
-ScriptRigidBodyCollisionThreshold greater than 0
-it is involved in a physics collision where the relative velocity exceeds ScriptRigidBodyCollisionThreshold

As far as I can tell, I have these set up, and the event is not called for any collisions (KActor-KActor, KActor-world geometry, etc). Is there something else I need to do?

© Game Development or respective owner

Related posts about physics

Related posts about udk