Ambiera ForumDiscussions, Help and Support. |
|
|
|||||
|
How can I make an object fit the grid? I'm trying to develop something where the player has the freedom to choose where to put such a construction, I just have no idea how to do it! Can you help me? |
||||
|
You can use the 'snapToGrid' editor plugin which can be downloaded here: https://www.ambiera.com/coppercu... |
||||
|
Could you give me a hint of how I would do to activate this plugin in the scene? |
||||
|
Download .zip archive, extract its content (usually a .js file) to Your Documents\CopperCube\extensions on Windows or ~/Documents/CopperCube/extensions on Mac OS X, restart CopperCube. It's then under Edit -> Plugins, I think and usually it has a shortcut. |
||||
|
I understand how to install the plugin in enginer, and just like you said I updated the plugins and said the following about SnapToGrid: Ignoring extension file 'snapToGrid.js' because it doesn't start with 'behavior_' or 'action_'. I do not know how to use it on some object, or even generally use this plugin. |
||||
|
Place it in the "plugins" folder and NOT the extensions folder! |
|