Raycast with model is really simple, just use the cframe on the primary part and the entire model moves, i just had to change the position to cframe. So now it works and slides across the cube just gotta make it get the distance between the ground and go down and move a direction.
just got back and it's now at a pretty good working state, just gotta fix the raycast params with the blacklist models so the coins dont randomly stop the mushroom.
Getting stuck on getting the powerups bouncing between the 2 walls after falling off the bricks, gonna have to watch some raycasting videos and see if i'm being stupid when i get home, I'm pretty sure it's just because of my current checks before running the tweens.
Raycast with model is really simple, just use the cframe on the primary part and the entire model moves, i just had to change the position to cframe. So now it works and slides across the cube just gotta make it get the distance between the ground and go down and move a direction.
just got back and it's now at a pretty good working state, just gotta fix the raycast params with the blacklist models so the coins dont randomly stop the mushroom.
Getting stuck on getting the powerups bouncing between the 2 walls after falling off the bricks, gonna have to watch some raycasting videos and see if i'm being stupid when i get home, I'm pretty sure it's just because of my current checks before running the tweens.