DragonActor collision - datablock
by Salamander · in TGB Platformer Kit · 07/04/2009 (7:03 am) · 3 replies
Hi,
I'm trying to modify the collision of the DragonActor to make it taller.
Even if i modify the CollisionPolyList values, the collision always stays the same.
Also, i was wondering if i should modify DragonActorTemplate, DragonTemplate or both to make it work.
So far i tried everything and i don't see any changes.
Any help would be greatly appreciated !
Hugo
I'm trying to modify the collision of the DragonActor to make it taller.
Even if i modify the CollisionPolyList values, the collision always stays the same.
Also, i was wondering if i should modify DragonActorTemplate, DragonTemplate or both to make it work.
So far i tried everything and i don't see any changes.
Any help would be greatly appreciated !
Hugo
About the author
#2
I would suggest creating a poly in the TGB editor and the copying the values into a list like the above.
07/05/2009 (6:03 pm)
No no, the collision bounds aren't hard coded. You should be able to change the bounds in the DragonActorTemplate:// Square. CollisionPolyList = "-1 -1 1 -1 1 1 -1 1";
I would suggest creating a poly in the TGB editor and the copying the values into a list like the above.
#3
Thanks for the support, entering the values in the editor sounds like a good idea !
I'll give it second try, i must have done something wrong playing with the values.
Thanks again, psk is really awesome BTW !
Hugo
07/05/2009 (6:16 pm)
Hi Philip,Thanks for the support, entering the values in the editor sounds like a good idea !
I'll give it second try, i must have done something wrong playing with the values.
Thanks again, psk is really awesome BTW !
Hugo
Torque Owner Salamander
I friend told me that the collision bound of the player is hard-coded so that's why i can't modify it directly in the datablock. I currently don't have the pro version of the PSK.
Anyone can confirm this ?
Thanks,
Hugo