Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
3 registered members (TipmyPip, AndrewAMD, NewbieZorro), 16,055 guests, and 7 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Bone Rotating #264218
05/05/09 07:52
05/05/09 07:52
Joined: Jul 2008
Posts: 14
The Netherlands
W
Warkey Offline OP
Newbie
Warkey  Offline OP
Newbie
W

Joined: Jul 2008
Posts: 14
The Netherlands
Hello.

I'am working on a 3D Funfair Simulation. The arm need to lift, i use bones. This is when it's OK:



But when i Press T to lift the arm, it goes wrong:



The arm is turning up, but also to the side and that's wrong!
The arm only need to rotate up. When i rotate my arm in MED, it is also turning like on the second picture.

My script:

Code:
	// Armen Liften
	if (key_t) { armlift = 0.1; }
	my.skill2 = armlift;
	ent_bonerotate(my,"arm",vector(0,my.skill2,0));


Does anyone can help me to turn the arm correctly up?
Thanks!

Regards,
Warkey

Re: Bone Rotating [Re: Warkey] #264222
05/05/09 08:14
05/05/09 08:14
Joined: Apr 2009
Posts: 298
Southern Oceans
KiwiBoy Offline
Member
KiwiBoy  Offline
Member

Joined: Apr 2009
Posts: 298
Southern Oceans
Probably need to see the .mdl file to determine if the proper bone is not dependant on another.
e.g. the arm could be somehow tied to another vertex within the armature model. This often happens when using MED when tired.


Use the 'manual' Luke, the manual is your friend. 'Self reminder' smile

My WebPage
Re: Bone Rotating [Re: KiwiBoy] #264224
05/05/09 08:17
05/05/09 08:17
Joined: Oct 2007
Posts: 5,211
İstanbul, Turkey
Quad Offline
Senior Expert
Quad  Offline
Senior Expert

Joined: Oct 2007
Posts: 5,211
İstanbul, Turkey
if you can upload the model somewhere maybe we can help better


3333333333
Re: Bone Rotating [Re: Quad] #264226
05/05/09 08:36
05/05/09 08:36
Joined: Jul 2008
Posts: 14
The Netherlands
W
Warkey Offline OP
Newbie
Warkey  Offline OP
Newbie
W

Joined: Jul 2008
Posts: 14
The Netherlands
Iv'e PM'd you both my uploaded model.

I hope some of you can help me fixing my problem.

Re: Bone Rotating [Re: Warkey] #264228
05/05/09 08:39
05/05/09 08:39
Joined: Oct 2007
Posts: 5,211
İstanbul, Turkey
Quad Offline
Senior Expert
Quad  Offline
Senior Expert

Joined: Oct 2007
Posts: 5,211
İstanbul, Turkey
okay i found your problem, your problem is that, only one bone is not enough for you, you need the constraint axis. to do that you can use 2 vertices or 2 bones, i am adding you to im, i can explain there better.


3333333333
Re: Bone Rotating [Re: Quad] #264248
05/05/09 10:47
05/05/09 10:47
Joined: Oct 2007
Posts: 5,211
İstanbul, Turkey
Quad Offline
Senior Expert
Quad  Offline
Senior Expert

Joined: Oct 2007
Posts: 5,211
İstanbul, Turkey
some MOD take care of this BUNNY please, he is using the Pro 7.05, and you know what it is.(or wait him to ask why his script and vec_for_vertex is randomly crashing)


3333333333
Re: Bone Rotating [Re: Quad] #264251
05/05/09 10:57
05/05/09 10:57
Joined: Jul 2008
Posts: 14
The Netherlands
W
Warkey Offline OP
Newbie
Warkey  Offline OP
Newbie
W

Joined: Jul 2008
Posts: 14
The Netherlands
I'am wrong yes...
But i use it for private, and i will be buy license soon!

edit:

Using my brothers license, your code works Quad! smile

Last edited by Warkey; 05/05/09 11:18.
Re: Bone Rotating [Re: Warkey] #264279
05/05/09 12:36
05/05/09 12:36
Joined: Oct 2007
Posts: 5,211
İstanbul, Turkey
Quad Offline
Senior Expert
Quad  Offline
Senior Expert

Joined: Oct 2007
Posts: 5,211
İstanbul, Turkey
private use doesn't make it legal,

i don't understand why d anyone use a incomplete warez version when there is free and fully working version available.

good to hear that it works.


3333333333

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