Game Development Community

Disable player-player collision

by Kaj Eijlers · in Torque Game Engine · 09/07/2006 (7:56 am) · 1 replies

Hi, for my project I'd like to disable player-player collisions, while still letting it have the ability to collide with other objects.

myPlayer->disableCollision();

won't do, as it will disable ALL collisions. So how do I do this?

#1
09/07/2006 (8:24 am)
Hi, you will have to probably modify the sCollisionMoveMask in c++ inside the player.cc file. Please refer to this thread where a similar task is being addressed. www.garagegames.com/mg/forums/result.thread.php?qt=19060