Announcement

Collapse
No announcement yet.

How to have a object be dragged by the player's mouse in game, help...

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    How to have a object be dragged by the player's mouse in game, help...

    Ok so a while a go, some one had given me a example on how to do this in 3D, except the forces of gravity after doing such as lifting the object and letting the mouse go while it was above the floor caused it to fall and bounce around my question is can this be done in 2D? my next question is as follows:
    Is there a way to suspend certain objects in mid air while the player drag's them with the mouse? if so how? can it be done in both 2D, and 3D?
Working...
X