org.jbox2d.dynamics.contacts
Class TOISolver
java.lang.Object
org.jbox2d.dynamics.contacts.TOISolver
public class TOISolver
- extends Object
This is a pure position solver for a single movable body in contact with
multiple non-moving bodies.
- Author:
- daniel
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TOISolver
public TOISolver()
clear
public void clear()
initialize
public void initialize(Contact[] contacts,
int count,
Body toiBody)
solve
public boolean solve(float baumgarte)
- Perform one solver iteration. Returns true if converged.
- Parameters:
baumgarte
-
- Returns:
Copyright © 2012. All Rights Reserved.