DNGunpla

Members
  • Content count

    15
  • Joined

  • Last visited

  1. DNGunpla

    Any idea how to stop object from flickering

    Anyone?
  2. Currently I am working on a project that requires moving the clock hands, where the hour hand moves 30 degrees while the minute hand moves by 6 degrees. Example: https://gyazo.com/72f11ae5f8fdefdbc96c502f7d7fbc48 However, I have this issue of the object flickering whenever I stopped at a point. Issue Example: Right now this is my code for moving the minute hand and the hour hand In the Update Function: Is there anyway to fix it?
  3. DNGunpla

    Drag and Scale Object

    @flow Okay I tried out the code and it is exactly what I want for dragging and scaling the object. So I want to add in vertical scaling and horizontal scaling from one side at any point only. Also I want to make it such that if the object is drag to like half the grid, it will automatically scale and snap to the nearest grid line. Anyway to do it? Example:
  4. DNGunpla

    Drag and Scale Object

    Okay I saw it and I will try it out thanks
  5. DNGunpla

    Is there a code for diagonal dragging?

    Oh Okay thanks I will try it out
  6. DNGunpla

    Drag and Scale Object

    Hi, I am looking for a way to drag and scale my object in my game. Right now this is my code: dot being the corner of the rectangle I want to drag and scale my rectangle. dot2 and dot3 being the area I want to drag and scale my rectangle to. Is there a way to do it?
  7. DNGunpla

    Moving the Clock Minute and Hour Hand

    Thanks I will try out
  8. DNGunpla

    Moving the Clock Minute and Hour Hand

    @samid737 Mind explaining about the code in the post above, please?
  9. DNGunpla

    Is there a code for diagonal dragging?

    @flow Any ideas how do I implement it?
  10. DNGunpla

    Moving the Clock Minute and Hour Hand

    I am not sure about this code, can you explain it for me? and also I tried using it works for when I turn clockwise. But when I try to turn it anti-clockwise, the minute hand gets stuck at the 180 degrees part Issue: https://gyazo.com/5c0ca2992f0a3bb998e87b07773bd9af Any ideas?
  11. DNGunpla

    Is there a code for diagonal dragging?

    I currently have the following object code to test the diagonal below so how should I code it from here?
  12. DNGunpla

    Moving the Clock Minute and Hour Hand

    Well I did try that out but the problem is that when I try to move from 180 to -180, it doesn't increase the angle but decrease the angle instead The code is as follow below Is there any way to fix it?
  13. I am creating a game that requires diagonal dragging of an object. Technically, how I want it to work is by scaling the object diagonally to make a rectangle or square. Is there any way to code for it?
  14. DNGunpla

    Moving the Clock Minute and Hour Hand

    Anyone can help me? I have been stuck at this problem for at least 3 days now.
  15. I am creating a game that allows me to move the Minute Hand and the Hour Hand just like the clock in real life. I am using and gotten my minute hand to move like I wanted. But I want to make the hour hand move according to the minute hand like a real clock when I drag the minute hand. Is there anyway to make it move as such?