public void onInteract(Entity entity, Action type, float mass) {
super.onInteract(entity, type);
if (type == Action.RIGHT_CLICK) {
Substance item = this.spawnEntity(entity, new Vector3f(0, 1.6f, 0));
PhysicsComponent physics = item.getOwner().getPhysics();
physics.activate(mass, new SphereShape(1f), false, true);
if (item instanceof Projectile) {
((Projectile) item).setShooter(entity);
}
physics.force(entity.getPhysics().getRotation().getDirection().mul(getLaunchForce()));
this.onThrown(item, entity);
}
}