Gamestudio Links
Zorro Links
Newest Posts
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
Trading Journey
by howardR. 04/28/24 09:55
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
Why Zorro supports up to 72 cores?
by jcl. 04/26/24 11:09
Eigenwerbung
by jcl. 04/26/24 11:08
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (degenerate_762, AndrewAMD), 877 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
wandaluciaia, Mega_Rod, EternallyCurious, howardR, 11honza11
19049 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
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 Offline OP
User
Ruben  Offline 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: Ruben] #461335
08/02/16 09:48
08/02/16 09:48
Joined: Jul 2001
Posts: 4,801
netherlands
Realspawn Offline

Expert
Realspawn  Offline

Expert

Joined: Jul 2001
Posts: 4,801
netherlands
i think best solution would to part the model in 2 seperate models
easier to handle so 1 frame model 1 circle model.

I am not sure if one model can have 2 seperate animated parts at there own speed level.


Find all my tutorials & Workshops at : www.rp-interactive.nl

Creativity starts in the brain
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 Offline
Serious User
Reconnoiter  Offline
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 Offline OP
User
Ruben  Offline OP
User

Joined: Jun 2010
Posts: 590
California
Originally Posted By: Reconnoiter
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.

Re: Getting one section of model to move [Re: Ruben] #461462
08/07/16 07:00
08/07/16 07:00
Joined: May 2008
Posts: 2,113
NRW/Germany
alibaba Offline
Expert
alibaba  Offline
Expert

Joined: May 2008
Posts: 2,113
NRW/Germany
Or attach a bone to that portal and use ent_bonerotate


Professional Edition
A8.47.1
--------------------
http://www.yueklet.de
Re: Getting one section of model to move [Re: alibaba] #461464
08/07/16 10:16
08/07/16 10:16
Joined: Dec 2011
Posts: 1,823
Netherlands
Reconnoiter Offline
Serious User
Reconnoiter  Offline
Serious User

Joined: Dec 2011
Posts: 1,823
Netherlands
np, to add to what alibaba said you can also combine them when you do ent_animate first and than ent_bonerotate. Depends on your exact needs. If you only want to rotate the portal than only ent_bonerotate is an easier solution.


Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1