I have just created a java class named example extends Entity. (just like class EnityBoat because both my example and EntityBoat extend directly class Entity)
And I overrided method "updatefallstate" just like what EntityBoat does. But anyway, after I started game and summoned an entity of example in the air, it just floated in the air and can't fall to the ground! How can i handle the falling behavior of an entity?
I have just created a java class named example extends Entity. (just like class EnityBoat because both my example and EntityBoat extend directly class Entity)
And I overrided method "updatefallstate" just like what EntityBoat does. But anyway, after I started game and summoned an entity of example in the air, it just floated in the air and can't fall to the ground! How can i handle the falling behavior of an entity?