Change pivot of export mesh?

Discuss issues pertaining to the various game/web runtimes of Creature here.
Post Reply
Phaino
Posts: 12
Joined: Mon Apr 02, 2018 5:41 am

Change pivot of export mesh?

Post by Phaino » Sat Apr 07, 2018 7:50 am

Is there a way to change the pivot of the export mesh? From looking at the meshes that I have in unity, the pivot appears to be at the centroid of the object. I'd like to have the option to move this to the base of the object as this will work better for my game.

chong
Posts: 1178
Joined: Thu Feb 19, 2015 2:21 am

Re: Change pivot of export mesh?

Post by chong » Sat Apr 07, 2018 4:21 pm

Hello,

Yes in Creature in Animate mode:
Animate -> Set Anchor Point

In Unity if you are using the Standard Creature Runtimes:

Code: Select all

CreatureManager cur_manager = creature_renderer.creature_manager; 
cur_manager.target_creature.anchor_points_active = true;
This is documented here:
https://www.kestrelmoon.com/creaturedoc ... times.html

zampano
Posts: 70
Joined: Wed Jun 07, 2017 3:37 pm

Re: Change pivot of export mesh?

Post by zampano » Wed May 02, 2018 11:56 am

It would be great if the anchor point could be set via precise numbers. It's impossible to set the anchor point to the same spot in multiple animations like it is.

Post Reply