Game Development Community

Strange collisions when mounting player on aiplayer

by Luis Anton · in Torque Game Engine · 03/24/2004 (10:18 am) · 2 replies

Hi!

I am mounting the player on some AIPlayer objects which are following a certain path, on mountPoint 1 (so the player doesn't have control of the mounted object but follows the path).

Everything seems ok... the player is sitting there, having fun, when suddenly the aiPlayer object seems to collide with something and it stops moving or moves slowly in a strange way, like colliding all the time with something.

The AIPlayer is a .dts object wich is moving on another .dts object, and I think the player may be colliding with something (probably the second .dts object, the floor), and that creates the strange movement... but I can't probe it. However, that may not be the reason... Any idea?

#1
04/15/2004 (1:24 am)
Ok, I found it... It is the mounted object the one which collides with the player, so it cannot move properly... I changed the collision mask in the C++ code and now it works (obviously, now every AIPlayer is like a ghost).
#2
11/27/2005 (11:49 am)
When mounting an AIPlayer on another AIPlayer even after changing the collision mask the bot gets stuck colliding with the one it is carrying, any idea why?

thanks