Using World Objects
While RobotMagic encourages the use of Robots of 3D models, it can sometimes be helpful to have access to simple 3D objects such as cubes, spheres, etc. These can be used to exclusively, or in combination with models and/or robots to create more creative worlds. RobotMagic provides a simple way to create and manipulate these 3D objects.
Moving, Scaling, and Rotating
Selecting and Grouping
Responding to Events
Like models, you can have your world objects respond to various key presses by using the appropriate event. The block to add a key listener is shown below. Adding Models World objects can also be models, but it's important to keep in mind they are distinct to actors which also have models. World objects that are models have access to all the usual world manipulation and can be helpful when trying to create repetitive scenes.
3D world object provide another way to add 3D assets to your world. Although they are best used in conjunction with models, they can be used exclusively. Almost all the model functionality is present for world objects so the sky’s the limit! If you have any feedback on world objects or RobotMagic in general, please don’t hesitate to get in touch.