CHAI3DCHAI3D

normal Animation in chai3D

More
18 Feb 2016 09:59 #1

Hi all!,

I have a specific question implementing animation to my chai3D application.
I want to attach an animated object to the cursor ( idea is like moving man!, and his speed of walking will increase with respect to cursor position).
Will be of great help if someone have feedback on that!

Thank you :)

Please Log in or Create an account to join the conversation.

More
18 Feb 2016 12:15 #2

What kind of animation do you want realize? Are you thinking of moving a kinematic structure such as a character?

Please Log in or Create an account to join the conversation.

More
18 Feb 2016 12:38 #3

Exactly. As a starting point I would like to understand how can we attach a simple animated object to the cursor , like a rotating stick and its speed of rotation will change with respect to position of cursor.

Please Log in or Create an account to join the conversation.

More
18 Feb 2016 20:47 #4

If you are controlling a character that is moving in a large environment, then you may simply want to create a character composed of several mesh objects and write a controller that moves the character by reading position values directly from the haptic device and not from the cursor. See example 01-devices on how to communicate directly with the haptic device.

If you wish to develop some contact between the character and the environment, then you may want to use a dynamics engine such as ODE. I suggest that you explore the ODE module that comes with the framework.

In version 3.2 which will be coming out in March of this year, we will provide support for the BULLET dynamics engine which will make it even more convenient for programmers to develop games with haptic capabilities.

Please Log in or Create an account to join the conversation.

More
19 Feb 2016 09:48 #5

Thanks a lot!

Please Log in or Create an account to join the conversation.