Jump to content

Recommended Posts

Posted

Hey guys,

 

So I've been working on a model in Techne for a mob I want to add. It's pretty big, so I've been making the arms/legs in two parts so its elbows and knees can move.

 

But, I just had a thought; is that going to be a huge challenge when I try and animate it in the code? Is there a way I can set, for example, the lower leg's pivot point to follow the movement of the upper leg? I know it's very easy in normal animation (eg in 3DS Max) but because we're animating within the game code, it just occured that might be a challenge.

 

 

Anyone tried something like this before, or know anything that might be helpful?

width=463 height=200

http://s13.postimg.org/z9mlly2av/siglogo.png[/img]

My mods (Links coming soon)

Cities | Roads | Remula | SilvaniaMod | MoreStats

Posted

If you create a model from techne and export it to java then all it's parts will be of type ModelRenderer.

So if you open the class ModelRenderer inside eclipse you can see that variables for it's rotation point's offset are all public and can therefore be changed by the main model class or by other methods :)

 

Read the ModelRenderer.java file, I think it will answer you're questions better than anyone else can :)

If you guys dont get it.. then well ya.. try harder...

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
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  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.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.