![]() |
|
Starfall setAngVel parent bug? - Printable Version +- Team Spartan Cookies & Milk Forums (https://teamscm.co.uk) +-- Forum: Garry's Mod (https://teamscm.co.uk/forum-4.html) +--- Forum: Help and Support (https://teamscm.co.uk/forum-8.html) +--- Thread: Starfall setAngVel parent bug? (/thread-2108.html) |
Starfall setAngVel parent bug? - Captain Krisu - 08-01-2017 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
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 RE: Starfall setAngVel parent bug? - Person8880 - 09-01-2017 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. RE: Starfall setAngVel parent bug? - Captain Krisu - 10-01-2017 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. |