how do i make a weapon swing like a crowbar or a baseball bat

im trying to make a game and i need a crwobar.... does anyone know the scripts??

You need to flesh out your question with some more information? What are you trying to achieve. What have you got so far?

i got the crowbar and the main game level but now all i need is the crowbar trigger to make the crowbar hit whats in front of it with the "left mouse" button

2 Answers

2

Have a look at an answer to a similar question of mine:

Weapon swing

This should provide exactly what you need if you follow the code in the answer.

well i dont know how to exactly do this but u can try this...

first make an animation of u swinging the crowbar...

make a script that when your character falls from a high distance or get hit by something falling on them or something like thats... (possibly if a collider hits them they loose damage) they take damage... (this one wont help much...)

Im just trying to start u off i honestly dont know much about this just trying to do as much help as i can...

thnkx for helping me out out a lil :D but mabey when another person reads this reply comment they can give me a script or somthing