Resetting momentum on an object after dropping
Hi guys, another question.
I'm looking into resetting an objects momentum as soon as the player drops it (removes the physics handle), i want to try and get this implemented because i dont want the player to be able to spin the camera quick enough that when they let go the object will just go flying through the air. i want more control and that's why i plan on having the momentum of the object reset so it just drops to the floor and then i can get an actual poke/throw mechanic put in.
Any help with this would be great.
One possible solution I found was to add a SetAllPhysicsLinearVelocity node after you release the component.
You should have the variable for the Physics Object that is picked up set already. So you just have to plug that in. You will need to CastToPrimitiveComponent for it to work with the Linear Velocity node though.
Make sure to post back to let me know if this works for you.
answered Sep 04 '14 at 06:50 PM
TJ V ♦♦ STAFF
Follow this question
Once you sign in you will be able to subscribe for any updates here