Game Development Community

Pong like physics for Torque?

by Martin Askestad · in Torque Game Engine · 03/16/2006 (1:36 am) · 2 replies

Is there a script-based way of adding pong like physics to Torque?? I want move in a direction without stopping, only bouncing if it hits a surface.

Or is there "massive" engine changes to make this come true??

#1
03/16/2006 (2:50 am)
Not having doen it before, but I would just change the direction of the ball in the onCollide event
#2
03/16/2006 (8:51 am)
Check out the RigidShape resource: [url=http://www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=5495] here [/url[

This is supposed to be rolled into the engine eventually, but it wasn't the last time I checked. Work well.