Team Spartan Cookies & Milk Forums
  • Issue Tracker
  • Donations
  • Search
  • Member List
  • Help

Register

Team Spartan Cookies & Milk Forums Garry's Mod Help and Support v
« Previous 1 … 9 10 11 12 13 … 21 Next »
Starfall setAngVel parent bug?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode
Starfall setAngVel parent bug?
08-01-2017, 08:13 PM,
#1
Captain Krisu Offline
Valued donator and member
****
Posts: 38
Threads: 14
Joined: Nov 2013
Starfall setAngVel parent bug?
I have an holo that needs to rotate, called 'MainRotary'. It's a simple cylinder holo and is not given starting angle, only position.

It rotates fine as it is supposed to when doing
MainRotaryConfusedetAngVel(Angle(0,10,0))

But when the holo is parented to the chip, the rotation is on the wrong axis. I tried all Angle values without success.

Without parenting, rotates as supposed to: http://i.imgur.com/JDnnAKK.png

Parented to chip, rotates on wrong axis: http://i.imgur.com/IKIidjL.png

I like sdwel
Find
Reply
09-01-2017, 09:25 PM,
#2
Person8880 Offline
gpj.ecafllorT
*******
Posts: 2,407
Threads: 45
Joined: Sep 2013
RE: Starfall setAngVel parent bug?
This isn't a bug, this is how the game treats angular velocity from non-physics objects that are parented. The velocity is always relative to the parent.
Find
Reply
10-01-2017, 02:33 PM,
#3
Captain Krisu Offline
Valued donator and member
****
Posts: 38
Threads: 14
Joined: Nov 2013
RE: Starfall setAngVel parent bug?
How to make it rotate correctly then? I have tried all the values in Angle, but it always rotates in wrong way.

Or should I just use thinker hook to update position every second? That would be ugly and cause unnecessary US.

I like sdwel
Find
Reply
« Next Oldest | Next Newest »


  • View a Printable Version
Forum Jump:


Users browsing this thread:
Contact UsTeam Spartan Cookies & MilkReturn to TopLite (Archive) ModeMark all forums readRSS Syndication

Powered By MyBB, © 2002-2026 MyBB Group.