Collision not working with wrapped actors
LooseMoose
Member Posts: 224
Hi everyone, My scene is x wrapped so the platforms appear on the other side of the screen if they go over an edge.
My actor is set up to collide with these platforms but the collision is only working with the largest part of the wrapped platform. My actor just goes straight through the smallest area of the wrap.
Here is a picture so display my problem.
Is there a fix to this problem? Thanks
My actor is set up to collide with these platforms but the collision is only working with the largest part of the wrapped platform. My actor just goes straight through the smallest area of the wrap.
Here is a picture so display my problem.
Is there a fix to this problem? Thanks
Comments
The way around this is to do your own wrapping. So, if you have something moving to the left, when it gets off scene, reset its X position to the far right side of the scene. Use a change attribute behavior to reset its x position.
I guess my only option is disable x wrapping and duplicate all of my platforms and have y constrained to its partner with a fixed x distance between the 2. This will really push the performance :-S