actors bouncing problem (physical response)

Non-platform specific questions.

actors bouncing problem (physical response)

Postby j2graves » Thu Aug 25, 2011 3:24 pm

Hi all, I haven't been around in a while. Most of you probably don't remember me. I was on this forum back in 2007-2009. Well I'm back now, and I'm ready to make me a game!... but I'm having some difficulties... Whenever my main character actor collides with the tile actor, he bounces up and down.

If I remember correctly, in an earlier version of GE, all I had to do to prevent bouncing was to set the first value in physical response to zero. This version of GE won't allow me to set that value to zero. I did eventually find a number where the actor stopped bouncing. So then I added an animation to the actor... and then it started bouncing again. Note that I did not change the physical response settings, just the animation. Is GE programmed to handle actors of different sizes differently when it comes to physical response? If so, how can I make more consistent, desired results? Would it be better if I used an alternate collision system, and if so, could you show me how to make one?
No games to my name...
User avatar
j2graves
 
Posts: 1302
Joined: Thu Aug 16, 2007 6:42 pm
Location: on the other side of infinity
Score: 19 Give a positive score

Re: actors bouncing problem (physical response)

Postby Game A Gogo » Thu Aug 25, 2011 8:39 pm

Good to see you're back!

Are you entering these values 1,1,0,0 ? make sure it's on "Event Actor Only" for the actor to be "moved" (or rather stopped)
Programming games is an art,
    Respect it.
User avatar
Game A Gogo
 
Posts: 3466
Joined: Wed Jun 29, 2005 10:49 pm
Location: French Canada *laughs*
Score: 181 Give a positive score

Re: actors bouncing problem (physical response)

Postby j2graves » Fri Aug 26, 2011 12:44 pm

I figured out what the problem was. I was trying to set the first value to zero when I should have been changing the third value.

I was trying to do 0,1,1,1
when I should have been doing 1,1,0,1

Even so, I've been experimenting with what I did wrong, and I've found that by changing the first value to a larger number, I can stop the bouncing, but have very little friction, allowing me to use xvelocity to move the actor instead of having to use x.
It's funny the stuff you can learn from mistakes.
No games to my name...
User avatar
j2graves
 
Posts: 1302
Joined: Thu Aug 16, 2007 6:42 pm
Location: on the other side of infinity
Score: 19 Give a positive score


Return to General

Who is online

Users browsing this forum: No registered users and 1 guest