On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Asset Forge

Create your own 3D models and 2D sprites! · By Kenney

How to get rotation and scale of selected blocks

A topic by penguin_buddha created Nov 14, 2020 Views: 367 Replies: 2
Viewing posts 1 to 3

I'm looking to create a simple script that "flips" any currently selected blocks along a specified axis. This entails inverting their scale along that axis and moving them. I see the method forge.getSelectionX() to get the position of a selected object, but what about it's other properties?


thanks,

Nate

Hey Nate,

This currently isn't supported however Asset Forge already has a function to flip the current selection, you can find the button to do so at the top of the screen.

Sweeeet, thanks Kenny. Great work on the product btw.