playcanvas / playcanvas/engine

Invalid base value of anim target

Open
#6,160 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area: animation
Dominant language
JavaScript
Stars
16.8k
Forks
2k
Avg merge
4h 32m
Merged PRs (30d)
222

Description

When Anim Evaluator adds a clip, the binder sets invalid component for base value (undefined). It assumes it is a quaternion, writing W component of a Vec3.

image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Locate the Anim Evaluator and its binder, then reproduce the issue by adding a clip with a Vec3 animation target. Trace how the base value is initialized and verify that completion leaves a valid Vec3 base value without writing a quaternion-only W component.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
computer-graphics, game-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.