Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for object-level animations #26

Open
rdb opened this issue Sep 29, 2019 · 0 comments
Open

Add support for object-level animations #26

rdb opened this issue Sep 29, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@rdb
Copy link
Collaborator

rdb commented Sep 29, 2019

This could be done by adding a joint for each animated object in the animation, but rather than hooking it up to a JointVertexTransform to transform vertices, we would use joint.add_local_transform() or joint.add_net_transform() (ie. the equivalent of actor.exposeJoint) to have Panda copy the transformation to the object in question.

The animated object should probably be made a ModelNode to prevent Panda from flattening it.

Also see panda3d/panda3d#457, which discusses a way of implementing object animations without use of joints in Panda3D.

@Moguri Moguri added the enhancement New feature or request label Sep 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants