Jump to content

Animated models : Rotate Bones command


YouGroove
 Share

Recommended Posts

Yes, be able to rotate bones on animated models with a simple command.

 

Why, because it is super usefull some few example :

- control character eyes and head to look to the player

- adapting character foot to the ground slope

- turning robot turrets to player direction and adapt foots to the ground slope also by rotating them

- make a simple hair or cape effect without using physics

etc .. .

Stop toying and make games

Link to comment
Share on other sites

So SetRotation()/Turn() isn't simple enough for you? Get the bone entity via FindChild() and it's name and then you can rotate it and position it all you want via code.

 

Just remember to do it AFTER you run your animation code or the animation will overwrite what you're doing.

  • Upvote 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...