#Teleport Forward
1 messages · Page 1 of 1 (latest)
if its using a trigger handle:
- Player = Rec Room Object Get Last Holding or Equipping Player(Trigger Handle)
- Player Position = Get Position(Player)
- Forward = Get Forward Vector(Trigger Handle)
- Result = Player Position + Forward
- Trigger handle primary action pressed
- Set Position(Player, Result)
Since directions are normalized (radius is 1), this will only teleport a meter infront. To make it however long you want statically, add this to the list:
- ScaledResult = Vector3 Scale(Result, Parse Float("meters forward")
All of these however teleport you through walls. You could use a raycast. That, or you could just use add velocity which i think is simpler & would look better
Add velocity (replace set position with this);
- Velocity Add(Player, Forward)
I cant go too indepth or provide screenshots for any questions you have as im omw to work, so cya in ~10 hours
gotta be very clear, prob new to circuits & im getting ready for work & revised things
if your referencing the object board, you can delete the "rec room object get last holding..." u know, & player head position was never mentioned, so delete that as well
Idk if u saw, but i treat some parts as mathmatical expressions & functions, see Player Position + Forward? Search up the add and connect those
ye
restating wuts been established go brrrrrr
mhm-
yee, well first off, is that a good distance? Dont want it to go farther?
alright, then scale the forward and put that where the forward was in the add
and ye, follow wut said before
here i made alot of it since im home now
mind if i steal this
/j
hmm, testing this, screenmode can just clip the handle through walls while holding lmao, rec is great for having respective hands have no collision upon holding things huh
if i cared, i wouldnt post it as clear ðŸ˜
if i did u would see this
sure 🥱
couldn’t you?
some
i can see a string value, some ifs and an or, or an and
ye, but i dont thinkg u reconstruct the whole thing
np :3
i could get the base chips and go off of it from my knowledge of circuits but
doubt i would even have to patience, nobody would 
percisely 
i might do it now
go ahead 🥱
nah, my A*
ass?
A* pathfinder
staggered, loop states, etc
so basically an ai?
thats wut a pathfinder typically is coined as ye
just mine is staggered, and has loop states (runs multiple loops within 1 loop)