Saad Khawaja Menu

Viewing all items for tag unity

Permalink:

  • sai

    But how to screenshots with batch mode?

  • Helda Bbt

    Peut ton récupérer les captures faire dans un groupe d’objets genre Texture2D []??

  • •••
  • Thanks for leaving a comment, please keep it clean. HTML allowed is strong, code and a href.

Permalink:

Move Object with Mouse

Move a 3D Object with Mouse – and make it collide

  • Melvin

    Awesome just what I needed! One question though, I’m doing this for a 2D Air Hockey game. I got the code to work, but when my paddle goes real quickly against the puck, then it goes through the puck. I tried this code in both FixedUpdate() and Update(). This is probably the case, because the move happens so quick, that the Unity engine does not check for collision in that fast mouse movement. I’m currently thinking of ways how to fix this, but perhaps you have a good idea for this?

  • qwertyuiopasdfghjklzxcvbnm

    on your rigidbody, change collision detection to continuous instead of discrete

  • Thanks for leaving a comment, please keep it clean. HTML allowed is strong, code and a href.