Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
RotatePropToSpeed
Dalroc Offline
Member

Posts: 57
Threads: 2
Joined: Mar 2011
Reputation: 0
#1
RotatePropToSpeed

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
04-09-2011, 11:42 PM
Find
MrBigzy Offline
Senior Member

Posts: 616
Threads: 18
Joined: Mar 2011
Reputation: 8
#2
RE: RotatePropToSpeed

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?
04-09-2011, 11:58 PM
Find
Dalroc Offline
Member

Posts: 57
Threads: 2
Joined: Mar 2011
Reputation: 0
#3
RE: RotatePropToSpeed

Found the solution and it was so simple I feel really stupid.. The entity just needs to have StaticPhysics checked /facepalm
04-10-2011, 12:32 AM
Find
MrBigzy Offline
Senior Member

Posts: 616
Threads: 18
Joined: Mar 2011
Reputation: 8
#4
RE: RotatePropToSpeed

That's actually kinda weird...static physics means....static physics, lol.
04-10-2011, 02:07 AM
Find
Tanshaydar Offline
From Beyond

Posts: 3,085
Threads: 17
Joined: Mar 2009
Reputation: 67
#5
RE: RotatePropToSpeed

(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.

(This post was last modified: 04-10-2011, 11:48 AM by Tanshaydar.)
04-10-2011, 11:48 AM
Website Find




Users browsing this thread: 1 Guest(s)