Game Development Community

Is my immovable checkbox cursed?

by Kevin James · in Torque Game Builder · 08/01/2006 (8:29 am) · 4 replies

I have a bullet for my machine gun. I have a terrorist truck that I shoot. Originally I had the collision repsonse for the bullet set to rigid, and a callback that damages the truck and deletes the bullet. Whenever I shot the truck, it looked like its angle changed randomly. Looking for the problem I found that the bullet's immovable status is set to true, and whenever I click on the box nothing happens, defining the immovable field shows no results, and calling .setImmovable(false) does nothing either. I have no idea why the immovable status is behaving like a spoiled child. but I'd really like to test whether setting immovable to false will curb the quirky truck problem.

btw---I fixed the problem by setting collision response to kill, but i'd rather not leave it like that if at all possible.

bbtw---Check this out if you have some know-how in particles.

About the author

Computer security, digital forensics, and platform jumper enthusiast. shells.myw3b.net/~syreal/


#1
08/01/2006 (8:39 am)
You could try reducing the density of the bullet. Only do minor changes to the density as it is quite sensitive. Is there a reason you want the bullet to be rigid, instead of clamp or kill?
#2
08/01/2006 (9:13 am)
I was afraid that the collision callback wouldn't fire with kill, but come to think of it, the bullet still does damage so the callback must be firing! I think I pulled a stupid. . .
#3
08/01/2006 (9:17 am)
It happens to the best of us. Part and parcel of programming :p
#4
08/01/2006 (9:20 am)
Lol, indeed.