#Baseplate is doing tricks because of rig collisions when I shoot

1 messages · Page 1 of 1 (latest)

crude surge
#

So I have a ninja star. When the ninja star hits a rig, it gets ragdolled. The star raycasts so that it's embedded in the hit part accurately. The part also has CanCollide disabled. It all works... HOWEVER, sometimes when I hit a rig the baseplate will move too. I confirmed that it wasn't shooting the baseplate that was causing this, but hitting the rig. Can someone look at my code and help me figure out why this is happening and what I need to do to fix it?

#

its just 101 lines

signal walrus
#

the baseplate lives

#

umm

#

does the baseplat get any children once this happens?

#

or is it purely a cframe thing

crude surge
#

pure cframe just checked

signal walrus
#

could you print a1 and a0

#

i feel like it has something to do with motors but im unsure

#

why do you check for linear velocity

#

p.linearvelocity

crude surge
#

bc i got an error saying that it wasnt a child so i just decided to check for it

#

wdym a1 and a0 like of the velocity?

signal walrus
#

that what wasnt a child

#

if not p.LinearVelocity then return end

#

no a1 and a0 in ragdoll

crude surge
signal walrus
#

isnt it supposed to be assemblylinearvelocity

#

your trying to getlinear velocity

#

is this what you need?

#

alright

#

what did you get when trying to print the a0 and a1 in ragdoll?

crude surge
signal walrus
#

uhh

#

print a1.Parent

#

and a0.parent

crude surge
viral gorge
#

U could try just tweenin it

crude surge
#

I don't want to

#

@signal walrus

signal walrus
#

LinearVelocity is a child?

crude surge
#

yeah it is a constraint

signal walrus
#

im not sure

#

feels like a weld problem

#

because ive had times where a cframe changed because of a weld

#

im gonna be 100% honest roller

#

i didnt even know what i was doing 😭

#

i was trying to see what couldve caused problems lol

#

but uhh cool that its fixed