I can't get my missile to move using Linear Velocity

Hello, I’m trying to make my missile move forward using LinearVelocity and being activated via Proximity Prompts.

The missile has a sound effect, particle emitter and linear velocity, but when I test it, everything works besides the linear velocity and my model will not move. Any help would be greatly appreciated.

image

Is the model anchored or does it have any welds on it?

Your max force is set to 2000 and with default gravity of 196.2 studs/s^2 it means it can only lift a mass of about 10kg. You need to increase MaxForce.

The model isn’t anchored and no welds. Only attachments that are on the mesh.

Nothing works. I set it up with multiple amounts of forces up to 200,000.

Try to straight up set it to infinity or like 99999999999999


These are the properties if it helps. I have the MaxForce put on there and on the script.

You need to set Attachment0 to the attachment of the rocket.

I’ve set the RelativeTo to Attachment0, Attachment1 and world, yet nothing.

No, you need to set the Attachment0 property to an attachment, it’s nil right now.

Try Searching with the phrase ‘best way to move a projectile’.

I seem to remember moving projectiles with LinearVelocity isn’t a great way to do it.

1 Like

He’s not trying to make a super-fast projectile like a bullet. He wants to make a (relatively) slow guided missile. I believe LinearVelocity would actually be the best for the task.

I’m sorry for not being specific on what exactly I’m trying to achieve. I just want my missile to fly forward fast in the direction the launcher. So is LinearVelocity not the best option for that?

Yeah but you need to set the Attachment0 property to an attachment.

1 Like

I’m confused on what I have to do. Should I rename the Attachment to Attachment0 and change the RelativeTo to Attachment0?


Click the empty field and then click on your attachment.

Thank you for your help, finally I was able to get the missile to move.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.