raycasting render
Problem it solves
You need direct access to the internal raycasting engine object to tweak advanced renderer internals.
What this block does
Returns the main singleton instance of the RayCastingRender engine.
The block
Block ID: rcRender_getRCRenderInstance
Returns
RayCastingRender — The active raycasting render engine instance.
Example
let rc = Render.getRCRenderInstance() console.log(rc.wallZScale)
Add the extension
Add github:The-Code-Zone/Raycasting-pxt-extension to your project, or open: Import Raycasting-pxt-extension.