Physics
Use Kinemium's unified physics surface, 3D/2D backends, impulses, and raycasts.
Physics
Kinemium contains Jolt and Box2D integrations plus UnifiedPhysicsService, which is the facade used by current world APIs.
Apply an impulse
local Workspace = game:GetService("Workspace")
local part = Instance.new("Part")
part.Anchored = false
part.Parent = Workspace
part:ApplyImpulse(Vector3.new(0, 20, 0))Part:ApplyImpulse() delegates to UnifiedPhysicsService.
Raycast
local hit = Workspace:Raycast(
Vector3.new(0, 20, 0),
Vector3.new(0, -100, 0)
)
if hit then
print("Hit:", hit)
endWorkspace:Raycast() delegates to UnifiedPhysicsService.Raycast.
Backends
JoltPhysicsService: 3D Jolt integration.Box2DService: 2D Box2D integration.UnifiedPhysicsService: gameplay-facing facade shared by engine objects.
For new gameplay API, prefer the unified service where possible.