No Overlap, only Collide?

Hi!
I was wondering when: Actor receives event, that there's only a collide and no overlap instead of overlap & collide with actor of type...?
But it doesn't destroy the actor.
Thanks!
I was wondering when: Actor receives event, that there's only a collide and no overlap instead of overlap & collide with actor of type...?
But it doesn't destroy the actor.
Thanks!
Comments
What I would like is, when my actor jumps over a car, the image won't change, only when it hits the car, the image will change.
thanks!
in your playerActor and in your carActors > AttributesPane > Physics> Collision Shape and chose Circle
this should stop the computer from processing the clipping of square's corner edges of the images … as collision/overlap
@};- MH
But thanks for your help!
My actors are coming from up to down so, I don't know how to figure this out
can you upload your project???
@};- MH
Could you, if possible, give a little more detailed version please! @SlickZero
Thanks you very much
I have been playing too many platformers for this one ... 8-
@};- MH
In your button that makes the actor jump, have another behavior in the "when touch is pressed" section that basically adds this - TIMER for 1 second change attribute.jump to "true"
then in the "otherwise" section - change attribute.jump to "false"
Then inside your main jumping actor, have a rule for the collision that says - When attribute.collide is "true" then drop in your collide behaviors for the vehicle. And then have another rule that says - when attribute.jump = "true" - TIMER for 1 second change attribute.collide to "false" and check the "run to completion" box.
then in the "otherwise" section - change attribute.collide to "true"
What that will do is set the collision to false for 1 second, giving you time to clear the vehicle before the collisions turn back on. You can adjust the timers to whatever works best for the situation.
Hope that makes sense.
And thank you, MotherHoose
It works! But now I can jump over the vehicles, when I jump, it drags the main actor down....
Thanks a lot, you really helped me!
If you could check it out, if you want to and have time, I would really appreciate it!
Thanks!
chrisATmcguiremultimedia.com
just had to play a bit more with the timers!
thanks you soo much for your help!!!
And thanks for the quick replies!!
Tigris
And it was my pleasure