Game Development Community

T3D 1.1 Bug collision First Person, I look in the walls, and shoot inside - NOT A BUG

by Antonio Crovetti · in Torque 3D Professional · 10/11/2011 (3:56 am) · 4 replies

T3D 1.1 Bug collision First Person, I look in the walls, and shoot inside why?
Being new to the world of torque3d, I understand how to solve this problem.
In the third person does not happen. That is, collisions should be right.
But the first person as required, the weapon and the player enter in the walls.
Strange that in a non-beta relase bug you like that.
I hope for a fix.
thanks

#1
10/11/2011 (1:59 pm)
Quote:shoot inside why?
i am also new to t3d.
only knows that there is something to do with
ShapeBaseImageData Class's Public Attributes "retractionPoint node" for this problem.
but it is really funny matter for a modern game to shoot inside the wall.
and it seems nobody care about it.

may be someone will explain what to do for a permanent solution to not to shoot inside objects.


#2
10/13/2011 (4:24 am)
I do not understand what should I do with this node,I hope they fix this problem.
#3
10/13/2011 (8:28 pm)
Both 'bugs' are really issues with your art:

1). Looking 'into' walls in first person mode isn't a bug, it's the result of an improperly placed 'eye' node in your player model. The 'eye' node represents the position of the camera when viewing the world in first person.

If the 'eye' node is too far in front of the player, or animates in an exaggerated way (such that the 'eye' node is pushed forward too far) then the first person camera will clip into objects.

2). Shooting through walls is a result of not setting up a 'retractionPoint' node in your weapon model. The 'retractionPoint' node is used to push the weapon model back when it collides with certain objects.

See this thread for more info: http://www.garagegames.com/community/forums/viewthread/25857
#4
10/14/2011 (1:00 pm)
Chris many thanks,very helpful!