Pushing a Rock
by Dave Krohne · in Technical Issues · 05/01/2007 (12:54 pm) · 3 replies
Ok, so I am a newbie... I have run into a simple problem in TGB and I just cannot get it to work.
I need my PLAYER to push a ROCK, that's it. I have tried all of the settings in Collisions and nothing seems to work. I have tried various code with the onCollision function and I also seem to have no luck.
All I want to do is push a rock Up, Down, Left & Right. What am I missing??
Note: It seems to interfere with my Up, Down, Left, Right player keyboard interface - The player keeps going "Left" even when the key is no longer pressed. (Player.cs based on fish game but using arrow keys.)
I need my PLAYER to push a ROCK, that's it. I have tried all of the settings in Collisions and nothing seems to work. I have tried various code with the onCollision function and I also seem to have no luck.
All I want to do is push a rock Up, Down, Left & Right. What am I missing??
Note: It seems to interfere with my Up, Down, Left, Right player keyboard interface - The player keeps going "Left" even when the key is no longer pressed. (Player.cs based on fish game but using arrow keys.)
#2
The rigidshape seems to be a 3d thing.
05/01/2007 (5:13 pm)
I'm sorry, I should have clarified T2D v1.1.3.The rigidshape seems to be a 3d thing.
#3
In fact it's irritating that the resources of one are hidden from the owners of the other, for that very reason.
05/03/2007 (11:47 pm)
Try it out anyway--there's probly a 2d equivalent. The two engines share rather a lot of code.In fact it's irritating that the resources of one are hidden from the owners of the other, for that very reason.
Torque Owner David Tiernan