a collision is occurs far too early
by rennie moffat · in Torque Game Builder · 12/27/2009 (9:36 pm) · 6 replies
Hi, I made some simple physics up, and I am dropping a ball, it is lined up to hit another ball. I have adjusted collision groups, and layers etc, so everything should be good. however, the ball, stops, before it hits the target beneath it. The target has all collision stuff adjusted accordingly too. When I move the target, the ball falls freely.
Would there be any reason for this that you can think of?
Would there be any reason for this that you can think of?
About the author
My thanks to Garage Games and the Garage Games Community combined with owned determination I got one game up, Temple Racer and I am looking to build more interesting, fun games for the mass market of the iOS app store.
#2
2. Use the debugging function "Debug Rendering"->"Collision Bounds" to visualize the ... collision bounds. You will see how the collision bound of the ball will advance and understand better what happens when a collision occurs.
12/28/2009 (8:09 am)
1. Collision behaves differently according to the type of reaction you have chosen (e.g. RIGIS or CLAMP)2. Use the debugging function "Debug Rendering"->"Collision Bounds" to visualize the ... collision bounds. You will see how the collision bound of the ball will advance and understand better what happens when a collision occurs.
#3
12/28/2009 (1:53 pm)
hmmmm I must look into Debug Rendering. I believe there is info on that in TGN right?
#4
12/28/2009 (3:14 pm)
In the level builder, with nothing selected in your scene - click on the edit tab. You will see multiple rollouts for stuff like the camera and scene graph scripting; one of the rollouts is Debug Rendering. Check the Collision Bounds box to visually display all objects' collision bounds.
#5
so my bounds are much larger than the object. How can I change this? I thought I had when I adjusted the collision polygon?
12/28/2009 (5:16 pm)
hmm ok, so my bounds are much larger than the object. How can I change this? I thought I had when I adjusted the collision polygon?
#6
Thanks!
12/28/2009 (5:18 pm)
ok so I adjusted the sizes, but my ball, as I am trying to implement gravity is acting strangely. it is "slowly sinking thru the object it has collided with. I will play around but that is the case.Thanks!
Torque Owner Aditya Kulkarni
Loon Games