whattheheckman / CPPVRLabGroup3

1 stars 0 forks source link

make teleport function with height limits #6

Open whattheheckman opened 1 year ago

whattheheckman commented 1 year ago

the godot xr tools teleport function already has a distance limit built in, but not a height limit. we need to write a check that compares the height of the player compared to the height of the teleported surface.

we should probably look at the dot product between the players location and the teleport cast location to get the height. may not even need the dot product, might just need to compare the difference of the Y values.

https://godotvr.github.io/godot-xr-tools/docs/teleport/

whattheheckman commented 1 year ago

teleport available box is hard for .5m box. include option for joystick to control teleport facing directly?