JarlFrank on 30/1/2017 at 19:48
So I'm trying to get some objects in the FM I'm currently working on to rotate in the air. I put them in the air, select "Controls: Rotation, Location", then go to "State" and set the rotational velocity there. I save it, go to Dromed game mode, check it out, object rotates.
... but then, I place another object in the same room and do the same with it too. And for some reason the other item stopped rotating! When I check its properties, it doesn't have any rotational velocity set anymore, it's all reset to 0. Setting the velocity in the Controls rather than the State property doesn't do anything either. It's really aggravating, I just want to set some objects to rotate but they keep reverting to being inert!
Also, another question:
How do I increase the speed of an AI? The MaxSpeed property apprently only works for AIs without jointed models, such as fire elementals.
Yandros on 30/1/2017 at 20:52
Rotation is best achieved with a Rotate Tweq. Add the Tweq > Rotate prop, set Halt to Continue, AnimC to Sim, and then set the XYZ values as desired. To make it spin endlessly on the Z axis, for example, enter 10, 0, 360 to make it spin from 0 to 360 degrees at a speed of 10 on that axis. Adding that prop will automatically copy RotateState, open that and set AnimS to On.
AI speed is most easily altered with the Creature > Time Warp property, but bear in mind this changes ALL their speed, including combat attacks, not just walking. Most creatures default to 1.0, and lower values are faster. I believe haunts default to 0.75, for example, which is why it's hard to outrun them.
JarlFrank on 4/2/2017 at 12:36
Thank you Yandros, that worked!