The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



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
Speed of a spinning wheel?
DeAngelo Offline
Senior Member

Posts: 263
Threads: 26
Joined: Feb 2013
Reputation: 11
#1
Speed of a spinning wheel?

OK, so after a few hours of tinkering I finally managed to accomplish what I was trying to do: a custom entity that can spin. I did it by putting a hing joint into the entity and setting it as a wheel in the user variables. Second thing I wanted to do is make the wheel spin 540 degrees when the player enters a scrip area. Did that by using SetWheelAngle("custom_wheel", 540, true);

It does what I want but the problem is it spins at supersonic speeds. I want it to be much slower and unfortunately that script doesn't seem to account for the speed. I've tried changing "moveMaxSpeed" in the user variables of the entity to a really low number but that doesn't change anything.

Any ideas?

Thanks in advance.

A Late Night Drink http://www.moddb.com/mods/a-late-night-drink
Check out my LP channel, CatBearGaming, I take all Custom Story requests!
04-02-2013, 08:42 AM
Find


Messages In This Thread
Speed of a spinning wheel? - by DeAngelo - 04-02-2013, 08:42 AM
RE: Speed of a spinning wheel? - by DeAngelo - 04-02-2013, 08:51 AM
RE: Speed of a spinning wheel? - by DeAngelo - 04-02-2013, 09:01 AM
RE: Speed of a spinning wheel? - by DeAngelo - 04-02-2013, 10:37 AM



Users browsing this thread: 1 Guest(s)