Jump to content

[SOLVED] .sanim scales model


photo

Recommended Posts

Hi, i was wondering if it is possible to disable scaling of character meshes when a .sanim file is loaded?

 

Here is the problem, we have a set of characters that all share a set of .sanim files, for all of the adult characters this works fine as they are all the same scale. However we also have a set of smaller characters (with the same bone structure and count), these are elderly people and children etc.

 

In 3ds max loading the .bip file to the small characters works fine, however after exporting and applying one of the .sanim files that the other sized characters use in Unigine the small characters get scaled up to the size of the adults (who were used to export the base set of .sanim files).

 

Can we disable this scaling? we do not want to have to export a seperate set of animations for different sized characters if possible, but to just have one base set of animations for all the characters.

 

thankyou in advance

Link to comment

ok let me put it like this then.

is it possible to stop the scaling of character meshes when loading a .sanim file

- a) yes

- B) no

Link to comment

Hi Shane,

 

Sorry for late reply. Unfortunately, it is not possible to stop scaling meshes when loading .sanim file because of bone structure.

Link to comment
  • 2 weeks later...

Actually, it can be possible. As skinned mesh object works directly with animation buffers, you can calculate the proportional scale between two meshes and each time, after per-frame transformations are made, use this scale multiplier. But it has to be done manually as there's no higher-order function for that.

Link to comment
×
×
  • Create New...