{"id":10119,"date":"2024-07-13T01:11:17","date_gmt":"2024-07-13T05:11:17","guid":{"rendered":"https:\/\/www.sceneri.com\/?post_type=sceneri-pro-docs&p=10119"},"modified":"2024-10-15T19:58:32","modified_gmt":"2024-10-15T23:58:32","slug":"spline-tool","status":"publish","type":"sceneri-pro-docs","link":"https:\/\/www.sceneri.com\/sceneri-pro-docs\/spline-tool\/","title":{"rendered":"Spline Tool"},"content":{"rendered":"
Unleash the power of the hidden gem known as the spline, which is waiting to be utilized within the depths of your game creation arsenal. Level up your creations as you venture through awe-inspiring pitfalls, where the relentless urge to propel platforms and push your player to the edge of anticipation becomes your ultimate mission.<\/p>\n
Splines are a crucial element of the equation and are readily available in the Radial Menu. To use the Spline Distributor, simply activate it in the Gizmo while the object is actively selected, as illustrated in this article<\/a>. When the object is selected, the context menu will appear at the bottom center of the screen. This allows you to enable snapping if you wish. In this example, we will draw out a bush in the Onboarding sample.<\/p>\n<\/div> One of the advantages of the Spline Tool is that it works very well with touch input. You can draw splines wherever you like by swiping your finger across the screen. You can also edit splines easily by tapping on the indicators that appear on the spline points. You can add new points, delete points, or move points to change the shape of the spline. Here are some of the most interesting use cases for splines:<\/p>\n A big advantage of the Spline Tool is that it integrates nicely with the other tools and components in Sceneri. For example, you can use the Spline Movement Component to make an object follow a spline path. You can adjust the speed, direction, and looping options of the object in the Properties Panel. You can also use the Place Objects Component to place objects along a spline. You can choose an object from your library or import one from your device. You can then adjust the spacing, rotation, and scaling options of the objects in the Properties Panel.<\/p>\n Watch this video to learn how to create moving platforms with the Spline Tool. We will show you how to use the Spline Movement Component and how to make a platform travel across two islands in a simple level.<\/p>\n<\/div>Platform Movement:<\/h3>\n