Home > other >  O great god how to answer game object with the rotating disk
O great god how to answer game object with the rotating disk

Time:09-19

I was on the screen (touch screen) put a such a disc, require disc rotating object rotation, but I can only let the object in one direction (clockwise or counterclockwise) cannot do disc let game object is clockwise rotation is clockwise, counterclockwise counterclockwise, strives for the great god answer my questions

CodePudding user response:

I is calculated on a frame and the frame of rotation Angle deflection amount and then let the object, but only 0-180 degree Angle calculated so only towards a rotation Angle, is there a way to identify clockwise and counterclockwise rotation

CodePudding user response:

No, does not know if there is any forward reverse more than a few laps, but you can limit a speed range?

CodePudding user response:

refer to the second floor zeratul1990 response:
no, don't know if there is any forward reverse more than a few laps, but you can limit a speed range?

I mean, can let the game objects with the rotation of the disk and turn not to identify a few laps, more can do spins

CodePudding user response:

Should be get the rotation Angle is added or reduced the number of how many degrees

CodePudding user response:

This can be calculated, I would have done the same function, but you have to clarify how the rotation of the disk is identified?
  • Related