Physics for pong clone...
by Funky Diver · in Torque Game Builder · 05/03/2005 (3:31 pm) · 2 replies
Hi,
I'm trying to create physic materials for sprites to use in a pong-like game. I've managed to create a realistic bouncing ball, but still have some problems to complete my first demo:
1) A player object will be rotated on the ball hit... I need to make the thing moveable, cause physics event, but not to receive physics event.
SetPhysics(true, false) does NOT help... What can I do?
2) How make the collidable tiles react on the moving objects (make a ball bounce off)? Cannot find an example...
Thank you in advance for any ideas!
I'm trying to create physic materials for sprites to use in a pong-like game. I've managed to create a realistic bouncing ball, but still have some problems to complete my first demo:
1) A player object will be rotated on the ball hit... I need to make the thing moveable, cause physics event, but not to receive physics event.
SetPhysics(true, false) does NOT help... What can I do?
2) How make the collidable tiles react on the moving objects (make a ball bounce off)? Cannot find an example...
Thank you in advance for any ideas!
Torque 3D Owner Matthew Langley
Torque
Check out the "Getting Started" forum and then "Need to know where to start?" thread