Help with physics

For questions about using Classic.

Post » Sat Jan 14, 2012 12:38 am

I have a "wall" object that I want moving to the left at all times, and a "player" object that will be moving around. Both use the physics behavior, but I want that colliding with the wall doesn't move it as a result of the collision
Setting the wall to immovable solves the collision problem, but makes it impossible to make it scroll to the left7Soul2012-01-14 23:05:25
B
83
S
21
G
15
Posts: 1,039
Reputation: 15,134

Post » Sat Jan 14, 2012 3:52 am

Can you upload the .cap, or exctract that part from it.
ImageImage
B
25
S
6
G
8
Posts: 773
Reputation: 6,643

Post » Sat Jan 14, 2012 4:05 pm

http://dl.dropbox.com/u/3954039/physics.rar
Make sure to have the .cap and the data folder in the same folder. The light blue squares are supposed to always move left, while colliding with the player, but they shouldn't move as a result of the collision
You move the player with the mouse, and press Esc to exit7Soul2012-01-14 16:05:26
B
83
S
21
G
15
Posts: 1,039
Reputation: 15,134

Post » Sat Jan 14, 2012 11:03 pm

I've tried this. Check out the last event.
Can you fix the title of the topic (physics)? It should be easier for others to find it when searching the forum.
ImageImage
B
25
S
6
G
8
Posts: 773
Reputation: 6,643

Post » Sat Jan 14, 2012 11:07 pm

Interesting fix, pretty weird how this works :P
(changed title)
B
83
S
21
G
15
Posts: 1,039
Reputation: 15,134


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 4 guests