Skip to content

Commit

Permalink
removing getComputedAttribute from CannonDriver.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Utopiah authored May 29, 2024
1 parent 874ad96 commit 686c908
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CannonDriver.md
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ In A-Frame, each entity's `CANNON.Body` instance is exposed on the `el.body` pro
var el = sceneEl.querySelector('#nyan');
el.body.applyImpulse(
/* impulse */ new CANNON.Vec3(0, 1, -1),
/* world position */ new CANNON.Vec3().copy(el.getComputedAttribute('position'))
/* world position */ new CANNON.Vec3().copy(el.getAttribute('position'))
);
```

Expand Down

0 comments on commit 686c908

Please # to comment.