Game Development Community

TGB Collision rotation

by Chris Labombard · in Torque Game Builder · 09/13/2006 (7:33 pm) · 2 replies

Ive set up an object to fall straight down and placed a collision poly under it at an angle. When the falling object hits it it stays rotated straight up and down. How can I make it rotate properly (aka, change the angular velocity on collision)? Both collision responses are set to CLAMP.

Btw, what happened to RIGID mode?

The object on the angle is set to Send Collisions and Send and Receive Physics.
The falling object is set to Send and receive Collisions as well as Send and Receive Physics.

Any help would be greatly appreciated.

About the author

I have been a professional game programmer for over 5 years now. I've worked on virtually every platform, dozens of games and released a few of my own games, including 2 iPhone titles and a title waiting release on Big Fish Games.


#1
09/13/2006 (7:40 pm)
Chris, RIGID needs to be enabled in script in this version; the reason given was that with the care required to implement proper physics at the moment, they'd prefer to leave the RIGID mode available to those with a little more savvy than the average drag-and-drop user. RIGID should still give you the physical reaction you're looking for, though. CLAMP, on the other hand, will not.
#2
09/15/2006 (9:25 am)
I figured RIGID was still available via script but didn't know that CLAMP wouldnt perform the way I need it to.

Thanks.