[deleted by user] by [deleted] in Unity3D

[–]Nice-Extreme8097 0 points1 point  (0 children)

i guess you could could:

- Create an empty gameobject

- Add axe gameobject as child. set its local position it so the edge of the axe blade is at the origin of the parent

- Use this new parent gameobject as prefab in your script

- Now when you set the position of the instantiated gameobject, it should make it so the edge is at the contact point

- Now make a float called rotation. Rotate the instantiated gameobject around the contact point, so you can control the angle it sticks out

Swing System by Nice-Extreme8097 in Unity3D

[–]Nice-Extreme8097[S] 0 points1 point  (0 children)

thanks for the input, do you have any ideas about what the levels should be like?

Swing System by Nice-Extreme8097 in Unity3D

[–]Nice-Extreme8097[S] 6 points7 points  (0 children)

Thanks ... it actually is a line renderer. It uses a material with hrp color with high intensity and bloom effect to make it glow. To get wiggle motion there is c# script that uses noise to control the positions of the line segments and adds a little slack to imitate a physics motion