Examples of SphereActor


Examples of net.physx4java.dynamics.actors.SphereActor

    this.actor1 = actor1;
    this.actor2 = actor2;
    // helperActor
    ActorParameters actorParameters = new ActorParameters();
    actorParameters.setDensity(helperActorDensity);
    helperActor = new SphereActor(actorParameters, world, helperActorSize, 0);
    CollisionDisabler.disableCollision(world, helperActor);
    helperActor.setName(name + "helperActor");
    helperActor.setRotation(actor1.getRotation());
    helperActor.setPosition(anchor);
    helperActor.setMass(helperActorMass);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.