2 registered members (TipmyPip, 1 invisible),
18,789
guests, and 8
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Bone Rotating
#264218
05/05/09 07:52
05/05/09 07:52
|
Joined: Jul 2008
Posts: 14 The Netherlands
Warkey
OP
Newbie
|
OP
Newbie
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: // 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]
#264228
05/05/09 08:39
05/05/09 08:39
|
Joined: Oct 2007
Posts: 5,211 İstanbul, Turkey
Quad
Senior Expert
|
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
Senior Expert
|
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
Warkey
OP
Newbie
|
OP
Newbie
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!
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
Senior Expert
|
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
|
|
|
|