Skip to content

Commit

Permalink
build(physics): upgrade to c-frame/aframe-physics-system 4.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
mwfarb committed Nov 30, 2023
1 parent 7c67816 commit 1041c07
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions src/components/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
</dd>
<dt><a href="#module_collision-listener">collision-listener</a></dt>
<dd><p>Listen for collisions, callback on event.
Requires <a href="https://github.com/n5ro/aframe-physics-system">Physics for A-Frame VR</a></p>
Requires <a href="https://github.com/c-frame/aframe-physics-system">Physics for A-Frame VR</a></p>
</dd>
<dt><a href="#module_gesture-detector">gesture-detector</a></dt>
<dd><p>Detect multi-finger touch gestures. Publish events accordingly.
Expand All @@ -43,7 +43,7 @@ Based off 8th Wall&#39;s <a href="https://github.com/8thwall/web/tree/master/exa
<dt><a href="#module_impulse">impulse</a></dt>
<dd><p>One physics feature is applying an impulse to an object to set it in motion.
This happens in conjunction with an event.
Requires <a href="https://github.com/n5ro/aframe-physics-system">Physics for A-Frame VR</a></p>
Requires <a href="https://github.com/c-frame/aframe-physics-system">Physics for A-Frame VR</a></p>
</dd>
<dt><a href="#module_jitsi-video">jitsi-video</a></dt>
<dd><p>Apply a jitsi video to a geometry
Expand Down Expand Up @@ -222,7 +222,7 @@ Keep track of mouse events and publish corresponding events
## collision-listener

Listen for collisions, callback on event.
Requires [Physics for A-Frame VR](https://github.com/n5ro/aframe-physics-system)
Requires [Physics for A-Frame VR](https://github.com/c-frame/aframe-physics-system)

**Requires**: <code>module:&#x27;aframe-physics-system&#x27;</code>
<a name="module_gesture-detector"></a>
Expand Down Expand Up @@ -252,7 +252,7 @@ Load new URL when object is clicked

One physics feature is applying an impulse to an object to set it in motion.
This happens in conjunction with an event.
Requires [Physics for A-Frame VR](https://github.com/n5ro/aframe-physics-system)
Requires [Physics for A-Frame VR](https://github.com/c-frame/aframe-physics-system)

**Requires**: <code>module:aframe-physics-system</code>
<a name="module_jitsi-video"></a>
Expand Down
2 changes: 1 addition & 1 deletion src/components/object/collision-listener.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

/**
* Listen for collisions, callback on event.
* Requires [Physics for A-Frame VR]{@link https://github.com/n5ro/aframe-physics-system}
* Requires [Physics for A-Frame VR]{@link https://github.com/c-frame/aframe-physics-system}
* @module collision-listener
* @requires 'aframe-physics-system'
*/
Expand Down
2 changes: 1 addition & 1 deletion src/components/object/impulse.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
/**
* One physics feature is applying an impulse to an object to set it in motion.
* This happens in conjunction with an event.
* Requires [Physics for A-Frame VR]{@link https://github.com/n5ro/aframe-physics-system}
* Requires [Physics for A-Frame VR]{@link https://github.com/c-frame/aframe-physics-system}
* @module impulse
* @requires aframe-physics-system
*
Expand Down
2 changes: 1 addition & 1 deletion src/systems/core/arena.js
Original file line number Diff line number Diff line change
Expand Up @@ -669,7 +669,7 @@ AFRAME.registerSystem('arena-scene', {
Object.assign(sceneOptions, options['scene-options']);

if (sceneOptions.physics) {
// physics system, build with cannon-js: https://github.com/n5ro/aframe-physics-system
// physics system, build with cannon-js: https://github.com/c-frame/aframe-physics-system
import('../vendor/aframe-physics-system.min');
const physicsWait = setInterval(() => {
// wait for physics system and static-body component to be registered, needs 15-30 ms
Expand Down
2 changes: 1 addition & 1 deletion src/systems/vendor/aframe-physics-system.min.js

Large diffs are not rendered by default.

0 comments on commit 1041c07

Please sign in to comment.