Custom collision points
by Sam.E · in Torque Game Builder · 10/04/2008 (11:12 pm) · 6 replies
Hey all I have an object and I want to define custom collision points for it, the object is like this...
__________________
(_________________)
(____________)
(____________)
If you look at it, it looks like a platform, and I want the collision points to be outside of it but whenever I try it cant do it, i tried to do it normally but all I would get is convex violations and it wouldn't let me save with the convex violations, if you know any solution please tell me.
__________________
(_________________)
(____________)
(____________)
If you look at it, it looks like a platform, and I want the collision points to be outside of it but whenever I try it cant do it, i tried to do it normally but all I would get is convex violations and it wouldn't let me save with the convex violations, if you know any solution please tell me.
About the author
#2
If I wanted to make the collision for the character his head and his arms how would I go about doing this?
10/05/2008 (4:06 am)
Hmm, But splitting it would be easy for this particular object, but for others it would be hard, like a character.\If I wanted to make the collision for the character his head and his arms how would I go about doing this?
#3
If you want pixel perfect collision on an animated character however, TGB is not well suited to this sort of game.
10/05/2008 (4:29 am)
You really have to split it up into different parts. This doesn't mean the image itself has to be split up though. You can have invisible t2dSceneObjects with simple collision shapes on them and use a few of them to roughly block out the collision area you need to cover.If you want pixel perfect collision on an animated character however, TGB is not well suited to this sort of game.
#4
10/05/2008 (4:35 am)
Hmm, Okay thanks, so what I should do is create "fake" or invisible t2d scene objects and link them with my character giving them the collision points my character would have?
#5
10/05/2008 (9:08 am)
I am working on my own special version of polysoup for T2D (I call it pixelsoup), and it let's you do convex collisions.
Associate James Ford
Sickhead Games