Class OrientedBB

java.lang.Object
com.simibubi.create.foundation.collision.OrientedBB

public class OrientedBB extends Object
  • Constructor Details

    • OrientedBB

      public OrientedBB(net.minecraft.world.phys.AABB bb)
    • OrientedBB

      public OrientedBB()
    • OrientedBB

      public OrientedBB(net.minecraft.world.phys.Vec3 center, net.minecraft.world.phys.Vec3 extents, Matrix3d rotation)
  • Method Details

    • copy

      public OrientedBB copy()
    • intersect

      public net.minecraft.world.phys.Vec3 intersect(net.minecraft.world.phys.AABB bb)
    • intersect

      public ContinuousOBBCollider.ContinuousSeparationManifold intersect(net.minecraft.world.phys.AABB bb, net.minecraft.world.phys.Vec3 motion)
    • getRotation

      public Matrix3d getRotation()
    • setRotation

      public void setRotation(Matrix3d rotation)
    • getCenter

      public net.minecraft.world.phys.Vec3 getCenter()
    • setCenter

      public void setCenter(net.minecraft.world.phys.Vec3 center)
    • move

      public void move(net.minecraft.world.phys.Vec3 offset)
    • getAsAABB

      public net.minecraft.world.phys.AABB getAsAABB()