#How to use a model as a projectile

1 messages · Page 1 of 1 (latest)

hot creek
#

I've been trying to use a model as a projectile following the projectile physics video, but it only moves the primary part. I used weld constraints to weld the other parts to the primary part but the other parts don't follow the part.

glacial reef
#

But it depends on what kind of projectile it is

#

Id say try cframing the parts trajectory using the video as a reference,
then changing the math calculations with applied impulse next to the reference until its close to the same

#

Why would you need welds?

hot creek
#

because welds often hold parts together

#

and i thought it would work

hot creek
#

correction: using welds, the other parts go to where i want them to go but do not have the same starting position as the main projectile

glacial reef
#

Whats the game/application of the projectile? if ik the shape itd be better

hot creek
#

so im making a game about the player throwing bombs

#

i wanted to use the projectile physics video to script the throwing of the projectile

#

the projectile would start at the character's root part and end around the player's mouse position

#

i already created the input handling local script and the server script to create the bombs

#

the only issue is only the primary part of the model (the main projectile) is at the correct starting location (the root part) and the other parts are not

#

but they both go towards the mouse position correctly

radiant ivy
#

that realistically simulates bullet velocity and bullet drop and stuff using raycasts

#

but if you're looking for projectiles that just go from point a to point b then you could tween parts

#

raycast and then tween a part to the position where the raycast hit

glacial reef