Skip to content

Commit

Permalink
update debug trigger pos
Browse files Browse the repository at this point in the history
Signed-off-by: William Caine <[email protected]>
  • Loading branch information
wacaine authored Apr 10, 2024
1 parent 17b9ec3 commit 04868d2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/trigger.ts
Original file line number Diff line number Diff line change
Expand Up @@ -452,10 +452,11 @@ function createTriggers(targetEngine: IEngine) {

triggersInterface.addTrigger(
targetEngine.PlayerEntity, PLAYER_LAYER_ID, NO_LAYERS,
//(1.92/2) accounts that the player position is now at the feet, not the head
[{
type: 'box',
scale: { x: 0.65, y: 1.92, z: 0.65 },
position: { x: 0, y: 0.15, z: 0 }
position: { x: 0, y: (1.92/2), z: 0 }
}],
undefined, undefined, Color3.Green()
)
Expand Down

0 comments on commit 04868d2

Please sign in to comment.