newRotationEntity

@JvmName(name = "newRotationEntity")
fun newRotationEntity(entity: Entity): Rotation

Creates a new Rotation from entity's bounding box. This uses no raytracing, so it's not guaranteed to be the best spot. It will aim at the center of the bounding box.

It has almost zero performance impact, so it's recommended to use this if you don't need the best spot.