How do I make one box with a ball inside

Get help using Construct 2

Post » Mon Mar 03, 2014 12:59 am

Hello, I need your help with a problem in the management of physical and gravity, I need some logic I think ...:?
In concept I want to implement is a ball inside a frame (a square) and that as I rotate the square as the key is pressed, the beanbag react to the event and according to the position of the box to move or fall.
So far I've only made the beanbag advance but when the angle of the layer with the square is 270 meor force or momentum is reversed and I'm not getting to create an algorithm that allows me to simulate this effect.

Have any idea??
Last edited by gabsist on Mon Mar 03, 2014 9:57 pm, edited 1 time in total.
B
3
Posts: 3
Reputation: 231

Post » Mon Mar 03, 2014 8:46 pm

I solved already using a wrapper for the map, so to rotate the container not only alter the center of gravity!!! XD
Last edited by gabsist on Mon Mar 03, 2014 9:56 pm, edited 1 time in total.
B
3
Posts: 3
Reputation: 231

Post » Mon Mar 03, 2014 9:15 pm

Hi
This is an English forum and the rules state you should post in English or provide an English translation. This would help you get a response to your query.
If your vision so exceeds your ability, then look to something closer.
Moderator
B
134
S
30
G
84
Posts: 5,386
Reputation: 58,454

Post » Mon Mar 03, 2014 9:57 pm

zenox98 wrote:Hi
This is an English forum and the rules state you should post in English or provide an English translation. This would help you get a response to your query.


Ok, tks! :!:
B
3
Posts: 3
Reputation: 231


Return to How do I....?

Who is online

Users browsing this forum: Fenix18 and 10 guests