Package com.onarandombox.MultiversePortals.destination

Examples of com.onarandombox.MultiversePortals.destination.PortalDestination


                }

                Vector vehicleVec = event.getVehicle().getVelocity();
                Location target = dest.getLocation(event.getVehicle());
                if (dest instanceof PortalDestination) {
                    PortalDestination pd = (PortalDestination) dest;
                    // Translate the direction of travel.
                    vehicleVec = this.locationManipulation.getTranslatedVector(vehicleVec, pd.getOrientationString());
                }

                this.setVehicleVelocity(vehicleVec, dest, event.getVehicle());

                Entity formerPassenger = event.getVehicle().getPassenger();
View Full Code Here


            Location l = d.getLocation(p);
            Vector vehicleVec = v.getVelocity();

            // 0 Yaw in dest = 0,X
            if (d instanceof PortalDestination) {
                PortalDestination pd = (PortalDestination) d;

                // Translate the direction of travel.
                vehicleVec = this.locationManipulation.getTranslatedVector(vehicleVec, pd.getOrientationString());
            }

            // Set the velocity
            // Will set to the destination's velocity if one is present
            // Or
View Full Code Here

TOP

Related Classes of com.onarandombox.MultiversePortals.destination.PortalDestination

Copyright © 2018 www.massapicom. 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.