Applying Physics.

I got a question about the physics engine of the Blender.
Can I make an object float in midair?
I tried adding a rigid plane beneath the object and parenting it to my desired object, but it turned out to be funny.
Is there any way to apply a force to lift off the object certain distance away from the ground?

sure

If the object is dynamic (= not static) you can simply assign a gravity counter force. If that sounds to scientific:

The default gravity is 9.8 along -Z.
The default mass of an object is 1.0.

The required force is -gravity * mass = (0.0, 0.0, -9.8) * 1.0 = (0.0, 0.0, -9.8)

Setup a motion actuator with this force (world coordinates = deactivate “L”).
Activate this actuator when the object should float.

Typical usage:
Always (no pulses) -> AND/OR -> Motion Actuator force = [0.0 0.0 -9.8] [no L]

If you want the force dynamic (= dependent on the distance) you need to calculate the force via Python. If you apply the force with the motion actuator or the Python code is up to you.

Hint: Parenting makes the child object static (default behavior).

Thanks for the info. For now the logic brick method is enough, although I want some cool dynamic force.
I guess I’ll be able to do it soon with the Python.

Hint: Have a look at the Guides in my signature. They will provide you with a good start into the BGE (incl. BGE related Python coding).

Guides!:yes:
Will surely take a look into them.
Thanks.