This will be its collision when the block is detached from a tech so does not need to be too accurate - the wheel physics when driving will use their own collision, the size and properties of which will be determined by the values you put into the block JSON _wheel is where you define the wheel model and collider.Īdd a collider component to your wheel. Move this object to position your wheel relative to the base. This is the resting position of the wheel when under no forces. WheelOrigin represents the point from which the wheel calculates its physics. Select it in the hierarchy and assign a mesh in the Inspector window.Īdd an appropriate collider to match the shape of the block’s base. This is the static part of the wheel that will attach to a tech. The object at the root of the hierarchy is the base object. Your Physical Prefab will contain a hierarchy of objects Note: This is NOT intended as a place for discussions.When creating blocks with advanced properties, select the module(s) you require from the available types before creating your Physical Prefab and Block JSON then refer to the relevant section of this document for more information (If I missed any pages, please direct-message me to add it on the list) Definitely worth checking, as most things there would not be found here. These are pages that other people made hosting their own blocks. The next time you boot up TT, they should appear! (Folder paths do not matter as long as they are in 'Custom Blocks'). Grab zip files from here, drag the folder or contents in to the folder. A new folder called 'Custom Blocks' should appear. Install the Block Inject Library with TTMM, and run the game. It will require learning how to use, but it is a really powerful utility once you are comfortable in it. You can look at other blocks people made for reference on how to make your own. Recommended text editor is Visual Studio Code. This should contain all the properties that you can modify to make your very own block, of ranging complexity. (Github always has the most up-to-date version, unlike the one that generates in the Custom Blocks folder) Take a look at the Example.json file on the Github. Pack your block files in zips and show them off!įor the Block Inject Library's custom block loader feature. Share your custom blocks here! (Images help show off what you've made)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
January 2023
Categories |