Hi all
Im a complete noob with Unity and was hoping for some pointers on how to do the following:
- On clicking the player entity
- An object is spawned
- The object can be dragged. The further away from the player the object is draged the greater the velocity value.
- When the mouse button is released the Player entity is fired in the opposite direction from the current mouse location at the velocity defined by the current distance from the object to the player entity.
In plainer english i want an input mechanism that allows me to fire a player entity right by dragging a power indicator to the left.