Game Development Community

[Bug T3D 1.1 beta 3] player bounding box not transform make collision wrong in some case. RESOLVED

by Sibsan Suksuchano · in Torque 3D Professional · 10/09/2010 (5:45 pm) · 5 replies

T3D 1.1

win 7

Player bounding box

issue:
when set boxsize by give x not equal to y in PlayerDatablock when player turn and move in another direction they still use old bounding box's transform to check collision.

Example:
1.Set boxsize to (1,4,1) in PlayerDatablock.
2.Make some collidable object.
3.move player to hit that object by front,side in vary of direction.




#1
10/09/2010 (5:55 pm)
Thus, Bounding box is not relative to player orientation, it is relative to world.

It'd be nice if this could be changed.
#2
10/11/2010 (6:30 pm)
Logged as TQA-1175 for verification. Thank you.
#3
10/11/2010 (6:36 pm)
This is not a bug,because the box is an axis aligned object,relative to the world unit vectors.
#4
03/04/2011 (3:39 pm)
Greetings!

As Ivan mentioned, the Player's collision bounds are world axis aligned -- it is not rotated with the Player. This makes for very quick, first pass collision tests.

It would be nice to allow for other collision types -- capsule come to mind. But I do not believe this will change for 1.1 Final. It would make a great feature request, though! :)

- Dave
#5
04/24/2011 (6:16 pm)
Issue is as designed, marking as resolved.