Forums > Jitter

Gravity/Kinematic issue within a gaming enviroment

Jan 16 2013 | 4:53 am


I am having a problem with figuring out a way for key press to move my bowling ball into the pins. When I press the forward key the ball moves towards the pins but since I have kinematic 1 on the pins wont move this is working as designed but how would I fix this? I am currently using gravity to move the ball forward and if I take kinematic off the pins will move foward with the forward key press.

I know I can use the picker to throw the ball but this is not what I am looking to do. If you know of a solution to my problem pleaase respond.


-- Pasted Max Patch, click to expand. --

Jan 16 2013 | 5:44 am

instead of changing the gravity, send the message "impulse 0 0 -20" to the bowling ball phys.body.
adjust that value for magnitude and direction for your needs.

Jan 16 2013 | 6:08 am

Thanks very much that worked perfectly, muchly appreciated.

Its only a start so will get better.

Viewing 3 posts - 1 through 3 (of 3 total)

Forums > Jitter