Rigid Object Glitches
by Richard_H · in Torque Game Engine · 07/02/2007 (5:15 am) · 0 replies
Hi,
I've been working on a game with a puzzle aspect which involves the player pushing several crates into position and I've run into problems. When I apply an impulse to the crate it shoots diagonally into the air then teleports all over. This is hard to explain so I've uploaded my code so you can see for youself. Install it into a copy of starter.fps .
The mission I placed my object in was barebones.fps and to push it walk up to it, click shift-space, then click s - w to push it or s - w - w to push it harder. Then click the mouse while aiming at the crate. You can find my code at thejavagamer.com/RigidGlitch.zip .
Note: The push strength is based on pushing Kork so that may be part of the problem.
I've been working on a game with a puzzle aspect which involves the player pushing several crates into position and I've run into problems. When I apply an impulse to the crate it shoots diagonally into the air then teleports all over. This is hard to explain so I've uploaded my code so you can see for youself. Install it into a copy of starter.fps .
The mission I placed my object in was barebones.fps and to push it walk up to it, click shift-space, then click s - w to push it or s - w - w to push it harder. Then click the mouse while aiming at the crate. You can find my code at thejavagamer.com/RigidGlitch.zip .
Note: The push strength is based on pushing Kork so that may be part of the problem.
About the author