#DASH with char:MoveTo v2

1 messages · Page 1 of 1 (latest)

waxen orbit
#

im trying to make a dash with char:MoveTo to get a quick snap dash (so DONT suggest linear velocity unless you have a way to make it instant), im struggling with the dash clipping through walls and the char floating server-side

#

i updated the formula to the 1st picture

#

this is the localscript sending stuff to the server script

#

@vagrant musk

#

theres this at the end btw

#

this is probably whats causing the floating

#

but idk why and how to fix it

#

x and z doesnt have an offset its just the y

#

ok i did more testing

#

the raycast IS detecting the wall/part

#

but the distance is wack

vagrant musk
#

is it possible that the ur parts or moving?

waxen orbit
#

the part im testing on is NOT moving

#

however some are unions

vagrant musk
#

oh

#

I don't think that would be it

waxen orbit
#

oh yeah i forgot to mention this

#

probably should've earlier

#

all this done is in a for loop 3 times

#

thats what i is

#

for i = 1,3 do

vagrant musk
#

lol yeah I sorta assumed

waxen orbit
#

the raycast seems to only be triggering once?

#

oh wait hold on

vagrant musk
#

well what you have are steps right

waxen orbit
#

uh?

vagrant musk
#

it shoots one ray close, then another farther, then the other farther

#

oh lowkey that could be a problem

waxen orbit
#

oh hold on

#

i found 1 problem already

vagrant musk
#

why not use one, or break it when on is detected

waxen orbit
#

i do break it

#

hmm

#

wait i think i get wahat you mean

#

raycast once

vagrant musk
#

oh i didn't click the old image 💀

#

yeah that should help

waxen orbit
#

change the distance to detect only <30

#

thats what you mean right?

vagrant musk
#

yeah

waxen orbit
#

i'll try that rn

#

changed the formula btw

vagrant musk
#

looks good

waxen orbit
#

ok so the reason i used for i = 1,3 do is cuz i want to have like 3 clones as cosmetic

#

this kinda ruins that

#

but honestly idc atp

#

if i need to i can probably put it there

#

so now we need to work on the

#

server side floaty thing

vagrant musk
#

oh thats kinda sick

waxen orbit
#

also so far i cant clip

#

so i think we're good on taht part

vagrant musk
#

you can still do the 3 clones tho

waxen orbit
#

yeah i just realised thtat

#

if dist > 10 and allat

#

i'll think about it ltr when we finish debugging

vagrant musk
#

you can also make a formula

#

using %, my brain ain't braining rn tho

waxen orbit
#

yeah its fine i'll think about that ltr

#

u see anything wrong with this?

vagrant musk
#

whats wrong with the script

waxen orbit
#

im thinking this is whats causing the floating

waxen orbit
#

only the y axis

vagrant musk
#

idk, maybe switch to setting the CFrame💀

#

sorry I'm not sure whats wrong

waxen orbit
#

alr hold on

#

ok what the hell

#

that worked?

vagrant musk
#

check the server?

waxen orbit
#

yeah what

#

it worked

#

sick

vagrant musk
#

oh lol nice

waxen orbit
#

man what is happening 😭

#

why did cframe work but not vector3

#

or position..

#

i literally used cframe.new() with the same vector3.new

vagrant musk
#

I was about to say the floating is prolly cause it failing to replicate the movment to the server cause it was getting clipped when you set it down so it goes to the last known position instead (the MoveTo: which was floating)

#

yeah idk

#

goodluck wit that ig

#

cool idea on the like trailing clones, thats sick

waxen orbit
#

thanks man

hexed owl
#

fixed?