decentraland / decentraland/creator-hub

Tween component sometimes unreliable

Open
#1,227 0 comments 0 reactions 0 assignees View on GitHub
2-medium bug requires validation typescript
Dominant language
TypeScript
Stars
7
Forks
14
Avg merge
2d 8h
Merged PRs (30d)
44

Description

There are two problems with the tween component, reported by Pravus

1) Doing Tween.creteOrReplace() is not reliable

There are cases where I try to apply the same tween several times to the same entity. Sometimes trying to do this, tweens don't get applied at all unless I manually do a Tween.deleteFrom(entity) first.

2) tweenSystem.tweenCompleted(Entity) is not reliable

Sometimes the completed = true state gets lost, and stays false forever

Docs on this feature:
https://docs.decentraland.org/creator/scenes-sdk7/3d-content-essentials/move-entities#on-tween-finished

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.