![]() |
Lysa Nodes
0.0
Lysa Nodes — Scene Graph for the Lysa Engine
|
Lysa Nodes is a scene graph system using an OOP node tree for the Lysa Engine.
Lysa Nodes provides a Godot-inspired node-tree scene graph built on top of the Lysa Engine. It organizes 3D objects, lights, cameras, and physics bodies into a hierarchical tree of typed nodes. Each node can have any number of children, inherits its parent's transform, and participates in the engine's event system for per-frame processing, physics updates, and input handling.
addChild, removeChild, duplicate, findFirstChild, findAllChildren.Node : base 3D node with full transform (position, rotation, scale), process callbacks, and child management.Camera : perspective and orthographic camera with automatic aspect-ratio update on window resize.MeshInstance : renders a Mesh resource with optional per-surface material overrides.AnimationPlayer : plays AnimationLibrary tracks on sibling or child nodes, with forward/backward/seek support.Environment : ambient color and intensity for the scene.Viewport : explicit viewport and scissor rectangle override within a scene.DirectionalLight / OmniLight / SpotLight : light nodes with shadow maps and color/intensity control.CollisionObject : base for all physics nodes; handles layer filtering, debug rendering, and event routing.CollisionArea : passive sensor that reports contacts without simulating forces.PhysicsBody : base for active rigid bodies.StaticBody : immovable solid body.KinematicBody : velocity-driven body, unaffected by forces.RigidBody : fully simulated body; supports forces, impulses, density, mass, and gravity scaling.Character : specialized virtual character controller with ground detection and slope limits.RayCast : ray query node that reports the first intersected CollisionObject each physics tick.RenderingWindow or RenderTarget for output.load() and loadAsync() helpers instantiate node trees from packed Lysa asset files.LUA_BINDINGS=ON.Released under the MIT license.