Pushing objects

For questions about using Classic.

Post » Mon Aug 31, 2009 10:22 am

I'm having difficulty figuring out how to get my character to push objects convincingly. I currently have the events set up so that when the character is in collision with the object (which has 'Custom Movement'), the object has the action 'collision - bounce'. This seems to work but how do I give the impression of weight and resistence? Also, when the character jumps next to the object, the object drops through the ground a couple of pixels.

Is there an easier way of doing it? If not is there a harder way of doing it that works?

Thanks in advance.
B
1
G
3
Posts: 4
Reputation: 833

Post » Mon Aug 31, 2009 12:36 pm

Um isn't there an action for pushing already?
Image Image
B
161
S
48
G
90
Posts: 7,356
Reputation: 66,767

Post » Wed Sep 09, 2009 9:28 pm

cap would be helpful. you have to add weight/resistence as private variables and calculate the force of the push against the weight/resistence.
B
2
S
2
G
4
Posts: 259
Reputation: 1,968

Post » Wed Apr 11, 2012 6:15 pm

couldn't you say if right arrow pressed and player touching box move box and player until right arrow released.
B
22
S
5
G
3
Posts: 194
Reputation: 5,855


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 8 guests