Frictional Games Forum (read-only)

Full Version: RotatePropToSpeed
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I don't have a concrete example script for this problem, as I'm mostly just trying to learn everything before actually doing some serious work.
Anyone care to explain to me how this actually works? No matter what values I use, the prop just won't rotate?..
I have tried several different entities and calling the function with a timer, entity callbacks or directly in OnStart. No results? :S
An example of this in the game is the monoliths in the last level (those big rocks). So the function made those rotate around the center of the room. I guess you just had the wrong syntax or wrong item type or something?
Found the solution and it was so simple I feel really stupid.. The entity just needs to have StaticPhysics checked /facepalm
That's actually kinda weird...static physics means....static physics, lol.
(04-10-2011, 12:32 AM)Dalroc Wrote: [ -> ]Found the solution and it was so simple I feel really stupid.. The entity just needs to have StaticPhysics checked /facepalm

I'm doing it without StaticPhysics checked. It depends on if entity is movable by the user and some other properties too.