|
0 registered members (),
7,857
guests, and 3
spiders. |
|
Key:
Admin,
Global Mod,
Mod
|
|
|
Getting one section of model to move
#461329
08/01/16 19:44
08/01/16 19:44
|
Joined: Jun 2010
Posts: 590 California
Ruben
OP
User
|
OP
User
Joined: Jun 2010
Posts: 590
California
|
I have a model of a magic portal. It is a circular portal, with a circular frame around it. They are all a part of the same .mdl model.
I am trying to make it so that the portal will slowly rotate, while the frame does not. The frame should stay in place while the portal inside moves in a rotating manner.
Is there a function or method to specify one piece of the model to perform a certain action like rotating, such as by a specific Group or something within the model? For instance, I notice the portal is Group #1 in the .mdl file, while pieces of the frame are other different Group numbers.
Last edited by Ruben; 08/01/16 19:46.
|
|
|
Re: Getting one section of model to move
[Re: Realspawn]
#461336
08/02/16 10:29
08/02/16 10:29
|
Joined: Dec 2011
Posts: 1,823 Netherlands
Reconnoiter
Serious User
|
Serious User
Joined: Dec 2011
Posts: 1,823
Netherlands
|
Just animate only the portal in the some animation frames or add bone to the center of the portal, attach vertices to it, name the bone and use ent_bonerotate to rotate it around the angles you want.
Last edited by Reconnoiter; 08/02/16 10:30.
|
|
|
Re: Getting one section of model to move
[Re: Reconnoiter]
#461460
08/06/16 18:27
08/06/16 18:27
|
Joined: Jun 2010
Posts: 590 California
Ruben
OP
User
|
OP
User
Joined: Jun 2010
Posts: 590
California
|
Just animate only the portal in the some animation frames or add bone to the center of the portal, attach vertices to it, name the bone and use ent_bonerotate to rotate it around the angles you want. Thank you Reconnoiter. I ended up just doing without the frame, but your post is making me think about putting it back in, for it sounds like it will work. I will try it, and let you know how it goes. Thank you.
|
|
|
Moderated by mk_1, Perro, rayp, Realspawn, Rei_Ayanami, rvL_eXile, Spirit, Superku, Tobias, TSG_Torsten, VeT
|