Set up collision
Select an object in the World and open Properties.
Use Solid when the object should participate in collision. Use Anchored when it should remain fixed in place.
For a simple test, make a floor Solid and Anchored, then place an object that can move or collide above it. Start Play to check how they interact.
Configure World physics
Open Project Settings → World Physics to review settings that apply to the current World.
Changes to the World affect gameplay behavior in Play, so test them using the same objects and camera you plan to use in the game.
Control physics from AeoScript
An Entity provides a physics capability through entity.physics. It exposes controls such as mass, gravity scale, velocity, collision state and impulse.
const target = entity.get(1)
if target != nil {
target.physics.apply_impulse([0, 5, 0])
}
Use a valid Entity ID from the current game rather than relying on a fixed example value. See the Physics API and Entity API for full argument details.
Respond to contact
Use on_touch() or on_overlap() to respond to supported contact events. For example, an interactive Cell can run a script when another object touches it.
See AeoScript events for event signatures and examples.
Actor navigation — Beta
Use actor.navigate_to() to request a path and begin movement. Your script can respond to navigation completion or failure and use cancel_navigation() to stop an active request.
The Actor reference describes the navigation calls and callbacks.
Next: Characters and Physics and Collisions tutorial.