Counter Clockwise Rotational Bundles?

Ask questions, discuss ideas, get answers
Post Reply
Jim2102
Posts: 13
Joined: Sat May 12, 2018 1:53 pm

Counter Clockwise Rotational Bundles?

Post by Jim2102 »

Hello! I have an object which uses the rotational bundle code from the seagulls in DC:

=================================================
ObjectTemplate.create Bundle SSN_Rotational
ObjectTemplate.geometry Nothinghere
ObjectTemplate.setHasCollisionPhysics 0
ObjectTemplate.cullRadiusScale 0.42
ObjectTemplate.aiTemplate SSN_RotationalAI
ObjectTemplate.addTemplate SSN_Rotational_rotating
ObjectTemplate.setPosition 0/0/0

ObjectTemplate.create RotationalBundle SSN_Rotational_rotating
ObjectTemplate.geometry SSN_Rotational
ObjectTemplate.setHasCollisionPhysics 0
ObjectTemplate.setMinRotation 0/0/0
ObjectTemplate.setMaxRotation 0/0/0
ObjectTemplate.setMaxSpeed 1.0/0/0
ObjectTemplate.setAcceleration 1.0/0/0
ObjectTemplate.setContinousRotationSpeed 1.0/0/0
=================================================

This makes the object rotate clockwise. However, I want it to rotate counter clockwise. I've tried changing the MaxSpeed, Acceleration, and ContinuousRotationSpeed values to -1.0/0/0, but that doesn't seem to work, the object still rotates clockwise. Any ideas on how to solve this?

-Regards, Jimbo
Diamondback
Posts: 589
Joined: Mon Oct 01, 2012 3:13 pm
Location: Canada
Contact:

Re: Counter Clockwise Rotational Bundles?

Post by Diamondback »

Hmm. That one might be hard-coded unfortunately. Not too sure though, maybe f0ok/freddy would know?
See my Strasbourg map project here.
User avatar
Apache Thunder
Posts: 1210
Joined: Mon Oct 19, 2009 2:48 am
Location: Levelland Texas, USA
Contact:

Re: Counter Clockwise Rotational Bundles?

Post by Apache Thunder »

I don't recall such a limitation with rotational bundles. I think the issue is you are using negative values for too many things. Try using positive values for everything except the setContinousRotationSpeed.

For non continuous rotation objects it's usually the setAcceleration that you use a negative value on to alter if it counter rotates in relation to engine/player input. But setContinousRotationSpeed acts a bit differently I think so you don't do that here. You can also try using a positive value on setContinousRotationSpeed but use a negative value on setAcceleration.
ImageImageImage
I have cameras in your head!
Post Reply