Howdy, Stranger!

It looks like you're new here. Sign in or register to get started.

If you have any questions, reports, suggestions, or requests about Live2D, please send them to this forum.
※We cannot guarantee statements or answers from Live2D staff. Thank you for your understanding in advance.
 
Live2D Cubism
Cubism Products and Downloads
Cubism product manuals and tutorials
Cubism Editor Manual    Cubism Editor Tutorial    Cubism SDK Manual    Cubism SDK Tutorial

《Solved》 Issue with physics integration (DirectX Cubism SDK)

edited November 2015 in Archive
Hello,

I'm working with the DirectX version of Cubism SDK. I have succeeded in loading the sample models into my application, drawing and setting values on the motion parameters. I'm now trying to integrate hair physics by loading the associated .json files.

I have used the Json class included in the SDK for parsing the file and further init a list of PhysicsHair objects. Everything seems to be initialized correctly. Every frame I'm calling the update() function on each PhysicsHair object from the list. The physics update is being called before Live2DModelD3D update.

The issue is the physics update does not change the target motion parameters at all. I tried also to set one of the target motion parameters to see if the physics will change it to another value.. and the value remains the same.

Is there anything wrong with my approach of physics integration?


Tagged:

Comments

Sign In or Register to comment.