Class OrientedBB
java.lang.Object
com.simibubi.create.foundation.collision.OrientedBB
-
Constructor Summary
ConstructorsConstructorDescriptionOrientedBB(net.minecraft.world.phys.AABB bb) OrientedBB(net.minecraft.world.phys.Vec3 center, net.minecraft.world.phys.Vec3 extents, Matrix3d rotation) -
Method Summary
Modifier and TypeMethodDescriptioncopy()net.minecraft.world.phys.AABBnet.minecraft.world.phys.Vec3net.minecraft.world.phys.Vec3intersect(net.minecraft.world.phys.AABB bb) intersect(net.minecraft.world.phys.AABB bb, net.minecraft.world.phys.Vec3 motion) voidmove(net.minecraft.world.phys.Vec3 offset) voidsetCenter(net.minecraft.world.phys.Vec3 center) voidsetRotation(Matrix3d rotation)
-
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
-
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
-
setRotation
-
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()
-