Posts: 2,340
Threads: 78
Joined: Mar 2008
09-06-2013, 12:35 PM
(This post was last modified: 09-06-2013, 12:36 PM by YinYin.)
You mean because it stretches below the center?
Then make it ignore any x-z blocking by that itr as long as the center slides over its top.
edit: also requiring all physical objects to have a bdy that does not stretch below their center is an adjustment that makes more sense than requiring to add bdys to all frames.
Posts: 2,340
Threads: 78
Joined: Mar 2008
Well what do you do when bdy and itr overlap too far anyway? Do characters get stuck?
I think you should slowly push them outwards thus having a perfect slip if you go off the platform.
Posts: 4,878
Threads: 162
Joined: Mar 2008
Well, I don't know if that's at least a little bit feasible, but can you define bdy's "on the fly"? Ie. a 1px bdy-area that can somehow interact with the platform.
Silverthorn / Blue Phoenix
~ Breaking LFE since 2008 ~
"Freeze, you're under vrest!" - Mark, probably.
» Gallery | » Sprites | » DeviantArt
Posts: 1,073
Threads: 38
Joined: Mar 2008
09-06-2013, 11:50 PM
(This post was last modified: 09-06-2013, 11:50 PM by Azriel.)
here is a post of all the troubles i met when playing with platforms, some with solutions i chose
note: "character" can actually be any object, which itself may be a platform
standing on the edge of a platform, and the character's footprint shrinks to make him not stand on the platform -> force a staticly sized footprint per character
standing beside a platform, and the character's bdy "grows" into the platform because the character changes to a different frame -> statically sized bounding box for the character's bdy (also solves the dash-into-a-platform-and-your-character-moves-fuzzily problem)
walking right into a platform on your right, and you walk left, but when facing left, your bdy extends backwards (to the right) and "into" the platform -> only check collision for the "front face" of the direction your character is moving with the platform. not fool proof, so i made the character's bounding body symmetrically mirrored.
stacking platforms -> every object stores the y value of the highest platform beneath it (floor value). you cannot move beneath this value.
walking up sloping platforms / stairs / ramps -> not solved
treadmill platforms (standing on it moves your character, kind of like the boat in Kingdom LF2) -> not yet solved
moving platforms (super magical stuff)
standing on a platform, and the platform moves downwards -> should we glue the character to the platform? should we make the character go "in the air" if the platform moves down faster than gravity pulls the character down?
standing on a platform, and the platform moves upwards -> move the character up with the platform
x/z-axis moving platforms -> if the character is on the ground, how much should we glue their movement with the platform's? when the character jumps, how much of the platform's movement should we put into the character?
what if a moving platform squishes you into another platform? -> not solved
what if you are standing on two (or more) different platforms moving different directions? -> not solved
moving platforms with treadmill effects -> not solved
stacked moving platforms -> @.@
would be cool to see your approach on those
Azriel~