Velikost videa: 1280 X 720853 X 480640 X 360
Zobrazit ovladače přehrávání
Automatické přehrávání
Přehrát
You don't even know what help you have done to me !! God bless you man !!
I'm using Unity Input system. This code serves me well as a reference. Kudos to you sir!!
Thanks for the tutorial. Definitely helps me to figure out how to mouse grab.👍👍
how can i rotate the object with mouse click instead of drag?
Reset the rotation when mouse button up?private void OnMouseUp() { transform.rotation = Quaternion.identity; }
I swaped the Rotate for RotateAround and started working.
thank you!
Don't forget the mesh collider.
didnt work, but dont feel bad these never work for me 👍
lol no shit but can you get it to rotate based on the face you're clicking using raycasting - cause i cant
How can I block the Z rotation?
transform .rotation.z = 0;
nice
is this secureteam?
No SecureTeam has a more nerdy voice lol
Is it the same on touch?
I believe it should work the same with a touch screen I haven't tested that though.
I implemented this on one of my proj, but I can't use it in touch.
You don't even know what help you have done to me !! God bless you man !!
I'm using Unity Input system. This code serves me well as a reference. Kudos to you sir!!
Thanks for the tutorial. Definitely helps me to figure out how to mouse grab.👍👍
how can i rotate the object with mouse click instead of drag?
Reset the rotation when mouse button up?
private void OnMouseUp()
{
transform.rotation = Quaternion.identity;
}
I swaped the Rotate for RotateAround and started working.
thank you!
Don't forget the mesh collider.
didnt work, but dont feel bad these never work for me 👍
lol no shit but can you get it to rotate based on the face you're clicking using raycasting - cause i cant
How can I block the Z rotation?
transform .rotation.z = 0;
nice
is this secureteam?
No SecureTeam has a more nerdy voice lol
Is it the same on touch?
I believe it should work the same with a touch screen I haven't tested that though.
I implemented this on one of my proj, but I can't use it in touch.