Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Dear Users,

Now, we are seeking users who can give us a hand with expertise to evolve our software more dynamically.
If you are willing to help us, we’d like you to make a registration for “Live2D Creators Circle” via the link below.
Designers, programmers, translators are especially welcomed so far.
(More detailed explanation will be given to you before we ask you to do tasks)

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

edited November 2015 in Archive

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?



Sign In or Register to comment.