How do I add a Pivot?

#1
I have an entity with a rigid body component that is to be a door. I am applying velocity to turn the door, it all works great except that it is rotating on center of mass so it just turns in the middle of the model. I found the bRotationAroundPivot member of pe_action_set_velocity which seems like it would do what I need it to but I haven't been able to figure out how to add a pivot to my door. Can someone point me in the right direction? Thanks!

Who is online

Users browsing this forum: No registered users and 2 guests

cron