Gravity/Kinematic issue within a gaming enviroment

doms's icon

Hey,

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.

Max Patch
Copy patch and select New From Clipboard in Max.

Thanks

Rob Ramirez's icon

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.

doms's icon

Thanks very much that worked perfectly, muchly appreciated.

Its only a start so will get better.