Control over the Health Patch Rotation
by Brad Strong · in Artist Corner · 03/22/2007 (8:56 am) · 4 replies
Hi All,
I'm trying to vary the speed and even stop the automatic rotation that is applied to pickups.
In the FPS demo, default rotations are applied to weapons, ammo, and health patches.
Is there a way for us to vary or stop the rotation on these objects?
Thanks!
I'm trying to vary the speed and even stop the automatic rotation that is applied to pickups.
In the FPS demo, default rotations are applied to weapons, ammo, and health patches.
Is there a way for us to vary or stop the rotation on these objects?
Thanks!
#2
Just for clarity, I put it in the health.cs file, located in the Server folder.
datablock ItemData(HealthPatch)
{
shapeFile = "~/data/shapes/items/healthpower.dts";
mass = 1;
friction = 1;
elasticity = 0.3;
emap = true;
rotate = false;
If it's working for you, let me know. I think the rotation may be hard-coded in and require a recompile once you find where it resides.
03/25/2007 (7:07 am)
Thanks Caleb - But I've tried that, it has no effect. Just for clarity, I put it in the health.cs file, located in the Server folder.
datablock ItemData(HealthPatch)
{
shapeFile = "~/data/shapes/items/healthpower.dts";
mass = 1;
friction = 1;
elasticity = 0.3;
emap = true;
rotate = false;
If it's working for you, let me know. I think the rotation may be hard-coded in and require a recompile once you find where it resides.
#3
03/26/2007 (5:27 am)
In the World Editor Inspector, click on your Health Patch and see water settings are checked. For my silver, I had to manually uncheck the rotate fields for all my silver, then I had to save, quit, and come back in to see the changes.
#4
I'd tried unchecking the rotate fields but did not try saving the mission and re-launching. Now the pickups are stopped and I can put my own spin on them with an animation.
03/26/2007 (12:40 pm)
Thanks for the insight Caleb. I'd tried unchecking the rotate fields but did not try saving the mission and re-launching. Now the pickups are stopped and I can put my own spin on them with an animation.
Torque Owner Caleb
Default Studio Name
I don't know how to slow down the rotation.