Page 1 of 1

2 Models, 2 Rotations, 1 Actor - Possible?

Posted: Fri Jul 18, 2014 19:46
by Enjay
Hmmm, only just realised that the title is reminiscent of a certain unsavoury meme... :?

Aaaanyway, is it possible to attach two models to one actor and have them rotate differently? I've tried this:

[spoiler]

Code: Select all

Model NJMegaSphere
{
   Path "models/pickups"
   Model 0 "NJMega1.md3"
   Skin 0 "NJMega1.png"

   Scale 1.2 1.2 1.2
   ZOffset 8
   ROTATING
   Rotation-Speed 1.0
   Rotation-Vector 0 1 0

   Path "models/pickups"
   Model 0 "NJMega1.md3"
   Skin 0 "NJMega1.png
   
   Scale 1.2 1.2 1.2
   ZOffset 8
   ROTATING
   Rotation-Speed 1.5
   Rotation-Vector 0 -1 0
   
   //Spawn
   FrameIndex MOD1 A 0 0
   FrameIndex MOD1 A 1 0
}
[/spoiler]

But (not particularly surprisingly) both models seem to take their rotation information from the second set of values.

For that matter, what about different scales, ZOffsets etc?

Re: 2 Models, 2 Rotations, 1 Actor - Possible?

Posted: Fri Jul 18, 2014 22:02
by Nash
I've tried this before. It's just not possible with 1 actor. :(

Re: 2 Models, 2 Rotations, 1 Actor - Possible?

Posted: Sat Jul 19, 2014 1:51
by Enjay
I suspected as much. Thanks for the reply.