-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GraphNode setPositionAndRotation (#6625)
* added new method on graph node for setting position and rotation together * set transform on entity directly instead of using parent * added back the same position and rotation logic and test for setPositionAndRotation * removed extra call to get ptm * removed mat3 and used inv parent matrix directly * revereted example changes * Updated description of setPositionAndRotation # Conflicts: # src/scene/graph-node.js
- Loading branch information
Showing
2 changed files
with
71 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters