Skip to content

Latest commit

 

History

History
20 lines (17 loc) · 1.62 KB

README.md

File metadata and controls

20 lines (17 loc) · 1.62 KB

Space Physics for Unity

A 2D physics engine that simulates the behavior of bodies in space. It is designed for use in video games and provides features to facilitate their creation. The engine does not support a large number of objects simulated simultaneously, but was designed to allow free deactivation and activation of objects at runtime, each time they do not affect the player. The project was originally created for the game demo Invade-Space. The package is under constant development, but it's current form is fully stable and functional.

Components

The package consists of two main components:

  • PhysicsProperty

    • should be attached to any object that will be subjected to physics interactions.
    • Inspector provides all the options needed to set body parameters. image
  • PhysicsController

    • It should always be present at the scene and remain active whenever physics interactions should occur.
    • Inspector provides access to variables to adjust global physics values. image

Examples

The package includes sample scripts and prefabs for demo, utilizing the functions and signals of PhysicsProperty.