Simplest collision example isn't working?
by John Klimek · in Torque Game Builder · 05/26/2007 (7:59 pm) · 2 replies
I'm just starting to fool around with TGB again and I'm having a bit of a problem creating the most simple scene ever.
Here's what I did:
1) Create new project
2) Drag ball and box onto scene
3) Enable Send+Receive collisions on the ball
4) Enable Receive collisions on the box
5) Set box to have an linear velocity of 10 (y-axis).
6) Set both objects to BOUNCE collision response.
When the ball hits the box it slowly pushes the box off the screen...
(If I use a constant force instead of linear it also does the same thing...)
I'm using TGB v1.5 beta 3, but since I think I'm doing something wrong (rather than the beta having a bug) I thought I'd post here.
Thanks for any help :)
Here's what I did:
1) Create new project
2) Drag ball and box onto scene
3) Enable Send+Receive collisions on the ball
4) Enable Receive collisions on the box
5) Set box to have an linear velocity of 10 (y-axis).
6) Set both objects to BOUNCE collision response.
When the ball hits the box it slowly pushes the box off the screen...
(If I use a constant force instead of linear it also does the same thing...)
I'm using TGB v1.5 beta 3, but since I think I'm doing something wrong (rather than the beta having a bug) I thought I'd post here.
Thanks for any help :)
About the author
Recent Threads
#2
Thanks a ton,
John
05/27/2007 (7:55 am)
That fixed it. I figured I was doing something wrong... :\Thanks a ton,
John
Torque Owner Tetraweb
Greg