Friday 6 December 2019

MEGASHAPES UNITY FREE DOWNLOAD

Two colours are used so you can see how the interpolation will happen along the spline length, this is useful if you for example use the Path Follow helper script shorter sections will move slower than longer ones. This will return the local space position of the out vector handle whose index is passed in on the curve whose index is passed in. No problem with Mega-Shapes. About The Author Tsunami. Draw a path for the road, draw a cross section and then loft a road. Then loft a barrier and it will automatically conform to the road surface. megashapes unity

Uploader: Tygoshura
Date Added: 16 September 2013
File Size: 39.49 Mb
Operating Systems: Windows NT/2000/XP/2003/2003/7/8/10 MacOS 10/X
Downloads: 49449
Price: Free* [*Free Regsitration Required]





Base set of shapes such as circle, star etc included. This will extend the spline chosen by the curve value with the points passed in and calculate the handles.

This is a more general interpolation method that deals with out of range alpha values correctly, the params are all the same as the above method. This method will find the nearest point in the shape to the local space point passed in and return the point in world space.

You can choose to have the spline interpolated using a simple linear approach or by using a normalized interpolation. Turn this off if you want to control the sharpness of a corner or wish to have different in and out vectors to a knot.

SabreCSG Level Design Tools

The List of splines that make up this shape. Note a call should be made to MegaShape CalcLength after you have added or changed any knots. Or there is a Mega Shapes window under the Windows menu which you can dock if you like. It allows the user to build shapes using knots and control the shape with handles on each knot. Making a racing game? The revenue earned from advertising enables us to provide the quality content you're trying to reach on this website.

Will create a new knot from the values passed in transformed by the matrix and add it to the end of the knot list for this spline. More information on the system can be found at http: Use physical UV values, this will mean the UV mapping will be based on the vertex positions instead of calculated UV positions.

Mega Shapes

This will return the local space position of the knot whose index is passed in on the curve whose index is passed in. The lofter in MegaShapes allows you to use shapes as paths and then create a mesh by lofting a cross section along that path. This is a very simple example that will build a spline from an array of world space points, note you can use local space if you use the BuildSpline megashaapes instead, you can also pick which spline in the shape you want to change and also whether or not the spline is open of closed by changing the last param of the BuildSpline method to true.

About The Author Tsunami.

Controllers for moving objects along splines. First color to use when the spline gizmos are drawn. Each knot can be selected and moved by left clicking on the knot of handle and dragging to get the desired shape.

megashapes unity

Also included are scripts to allow objects to move along the splines with control over rotation etc similar to the path controllers in Max. The step value says how many interations to use in the calculation, a value of 1 would do a simple linear distance between each knot, a value of 10 will produce a very accurate length of the curve.

megashapes unity

The CalcLength will then be called to update the lengths for the shape. It will also return the knot, the tangent and the alpha value for the point. The layer system allows you combine any number of meshes into the final mesh. MegaShape is a spline object system.

Mega Shapes - Unity Asset

Two colours are used so you can see how the interpolation will happen along the spline length, this is useful if you for example use the Path Follow helper script shorter sections will move slower than longer ones. Automatic mapping of objects to generated surfaces. The important thing to notice megashwpes once a spline has been created or altered in any way the CalcLength method should be called so that the internal lengths of the spline can be calculated for quicker interpolation later, the value passed in will determine how accurate the lengths are, lower values can be used for quicker calculations, megashaeps gives a very accurate length without too much overhead.

We have all seen game mwgashapes beautiful rolling backgrounds, now you can have them too! There is an option to close the shape as well.

megashapes unity

MegaShapes also gives mdgashapes a scatter system that will take any objects you choose and scatter them along your road and have them automatically conform to the existing mesh's surface. If this is on the mesh will be generated or updated, so if the shape is animated set this to true for the mesh to update as the spline changes.

No comments:

Post a Comment