Gamestudio Links
Zorro Links
Newest Posts
TDAmeritrade plugin with new Schwab accountt?
by AndrewAMD. 03/24/26 17:11
TMFs on options in live trading
by mosfet. 03/23/26 07:29
ZorroGPT
by TipmyPip. 03/20/26 07:00
Black Book, 4th edition
by jcl. 03/17/26 09:28
Trying to get started...
by Lukudo. 03/16/26 09:08
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
2 registered members (Volkovstudio, Grant), 6,008 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
mredit, vestriaa, Lukudo, mldenoiser, the1
19204 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Animation + Bone rotate #272986
06/20/09 20:54
06/20/09 20:54
Joined: Jun 2009
Posts: 18
3
3DGSDutch Offline OP
Newbie
3DGSDutch  Offline OP
Newbie
3

Joined: Jun 2009
Posts: 18
Hi.

Is it possible to run an animation:

Code:
if(key_r){ seats = 1; }
		if(seats == 1){ my.skill1 += 1*time_step; }
      if (my.skill1 > 100) my.skill1 -= 100; 
      ent_animate(me,"gondel",my.skill1,ANM_SKIP);



And at that same moment rotate a bone?

Code:
if (key_q){ gondelarmsnelheid += 0.005; tegen = 1; mee = 0;}
		if (key_a){ gondelarmsnelheid -= 0.005; mee = 1; tegen = 0;}
		if(tegen == 1 && gondelarmsnelheid >= 1.8){ gondelarmsnelheid = 1.8; }
		if(tegen == 1 && gondelarmsnelheid == 0){ gondelarmsnelheid = 0; }
		if(mee == 1 && gondelarmsnelheid <= -1.8){ gondelarmsnelheid = -1.8; }
		if(mee == 1 && gondelarmsnelheid == 0){ gondelarmsnelheid = 0; }
		
		ent_bonerotate(my,"gondelarmkruis",vector(gondelarmsnelheid,0,0));



I tried this, and it won't work. Only the animation works. When i remove the animation code i can rotate the bone. But not if they are both in the script.

How can i rotate the bone, and run the animation both?
Hope somone help me out,

Regards,
3DGS Dutch

Re: Animation + Bone rotate [Re: 3DGSDutch] #273043
06/21/09 04:55
06/21/09 04:55
Joined: Aug 2008
Posts: 482
B
bart_the_13th Offline
Senior Member
bart_the_13th  Offline
Senior Member
B

Joined: Aug 2008
Posts: 482
You cant use vertex animation and bone rotation at the same time.
Use bone animation instead...

Re: Animation + Bone rotate [Re: bart_the_13th] #273048
06/21/09 07:12
06/21/09 07:12
Joined: Jun 2009
Posts: 18
3
3DGSDutch Offline OP
Newbie
3DGSDutch  Offline OP
Newbie
3

Joined: Jun 2009
Posts: 18
And how do i make Vertex Animation ? Just animate in MED and de-select the bone animation icon?

It needs to rotate a part of the model with bones. And also animate 3 other parts from the same part.

Re: Animation + Bone rotate [Re: 3DGSDutch] #273555
06/23/09 12:27
06/23/09 12:27
Joined: Nov 2008
Posts: 946
T
the_clown Offline
User
the_clown  Offline
User
T

Joined: Nov 2008
Posts: 946
Do ONLY bones animations, NO vertex animations.

Re: Animation + Bone rotate [Re: the_clown] #273566
06/23/09 12:43
06/23/09 12:43
Joined: Feb 2008
Posts: 3,232
Australia
EvilSOB Offline
Expert
EvilSOB  Offline
Expert

Joined: Feb 2008
Posts: 3,232
Australia
If a model contains ANY bones, vertex animations dont actually move at run-time.


"There is no fate but what WE make." - CEO Cyberdyne Systems Corp.
A8.30.5 Commercial

Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | 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