Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UpdateManager refactoring #41

Open
llafuente opened this issue Aug 19, 2016 · 3 comments
Open

UpdateManager refactoring #41

llafuente opened this issue Aug 19, 2016 · 3 comments
Labels

Comments

@llafuente
Copy link
Owner

Some problems raise again from the order of things are executed.

First: Rename IUpdateEntity -> PlatformerEntity

Now we have two events: PlatformerUpdate & LatePlatformerUpdate
Moving Character in PlatformerUpdate is not always viable, ex: while pushing boxes, because Character is always using the last-frame contact (not a real problem) but when you chain MovingPlaforms movement there is...

Study an solve the case for 4-5 boxes.

Some magic must be done to handle those cases...
Alternative: is that MovingPlatform do not use Translate directly, something like Move, to notify passengers and they can react to that fact.
Alternative: Character broadcast a message to child that it has been moved. children react then...

The problem will be greater when pulling, so review after that...

@llafuente llafuente added the bug label Aug 19, 2016
@Thundros
Copy link

PLEASE fix this!!!!!!!!!!!!!!!!!

@Thundros
Copy link

@llafuente : hello?......

@llafuente
Copy link
Owner Author

hi @Thundros, this library is obsolete I don't have time to fix it myself.

Long time ago I move most of the library to: ECM2 and it's my recomendation.
This library handle all the physics by itself, while good on paper (old-school) it's bad for these kind of simulations or continuos collisions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants