Game Development Community

non standing, non rotating item?

by deepscratch · in Torque Game Engine Advanced · 01/23/2009 (1:45 am) · 2 replies

Hi all,
question: how can I get items, ie: weapons, ammo, health kits, not to stand straight and rotate?,
I'm trying to get these items to be laying in a normal way on the ground. as in, if you drop a weapon, it doesnt stand straight up, 1 meter off the ground, it kinda lays flat, on its side where you drop it. same for clips.
I really hate that quake style weapon pickup thing, and am trying to go for a more realistic approach to weapon pickups.

any ideas? suggestions?

thanks ever so much.

#1
01/23/2009 (7:27 am)
It's all controlled in the datablock. Just edit the values in the World Editor Inspector. Removing static makes it affected by gravity and friction, deselecting rotate stops it rotating, though you'll have to save and reload to see the effect stop on screen.

You could probably trace the object properties to the relevant files and disable them all on mass.
#2
01/25/2009 (7:20 am)
Steve, I decided to leave the script for now, never know when I may need that aspect, changed my weapon and ammo models in Max by rotating them 90* and re-exported. works for me.

thanks all