Question on Freeze game

Hello everyone!

My game has a physical box that moves in a circular way.

To move this box, I tried two approaches:

  1. According to the position of the touch event, change “.rotation” of the box (this of course problems because          physics must be modified only with physical elements)

  2. Use a touch joint on the box fixed with a pivot joint in the middle (this works well enough but sometimes the          picture makes unexpected shots due to the different position of the joint and in any case it is not exactly what        you had)

I then came across Freeze. It moves exactly as I would like, and I assume that their box is also a physical  body

So I was wondering if anyone has any other suggestions to replicate this mechanism of the game

Link the game you’re talking about.  That will  help us understand. i.e. Then we can see it.

Do you mean this game? 

https://www.youtube.com/watch?v=w-QehTSVvHg

My guess.  The ‘box’ as you call it is actually a set of discrete physics bodies.

Also guessing, but they are all in a group whose <0,0> is set to the center of the screen and the group is being rotated.

I just tried this and the guess was wrong. Trying something else.

This may or may not help: https://github.com/roaminggamer/RG_FreeStuff/raw/master/AskEd/2018/08/freezeGuess.zip

https://www.youtube.com/watch?v=WrHNAB9ACv0&feature=youtu.be

Hi.

I did not put the video of the game because freezer is a game present in the coron stories and repeatedly mentioned.

I realize now that you’re right and it was better to insert a video. My fault.

However you have hit the point. I downloaded the test project and it’s exactly what I’m doing (point 2 quoted above).

The main problem of this mechanism is when the user touch from one corner to its opposite through the center (a diagonal)(attached)

The second thing I would like to solve is the fact that the ball sometimes comes out despite “.isBulltet” is true

Link the game you’re talking about.  That will  help us understand. i.e. Then we can see it.

Do you mean this game? 

https://www.youtube.com/watch?v=w-QehTSVvHg

My guess.  The ‘box’ as you call it is actually a set of discrete physics bodies.

Also guessing, but they are all in a group whose <0,0> is set to the center of the screen and the group is being rotated.

I just tried this and the guess was wrong. Trying something else.

This may or may not help: https://github.com/roaminggamer/RG_FreeStuff/raw/master/AskEd/2018/08/freezeGuess.zip

https://www.youtube.com/watch?v=WrHNAB9ACv0&feature=youtu.be

Hi.

I did not put the video of the game because freezer is a game present in the coron stories and repeatedly mentioned.

I realize now that you’re right and it was better to insert a video. My fault.

However you have hit the point. I downloaded the test project and it’s exactly what I’m doing (point 2 quoted above).

The main problem of this mechanism is when the user touch from one corner to its opposite through the center (a diagonal)(attached)

The second thing I would like to solve is the fact that the ball sometimes comes out despite “.isBulltet” is true