Jump to content

Controlling the width of a path at runtime?


Nodragem
 Share

Recommended Posts

Hello,

I am making a game that uses Blob tileset similar to that one:
image.png.91eefd74d8bea0e63a5f2e35b056ff25.png

In order to make islands connected by bridges such as that:

image.png.f5fbbefae882f9bf7ff7426c43115418.png

 

I would like to be able to control the width of the bridges at runtime (or at the time of loading the map) because of the requirement of my clients.

I thought of using Blender's BlendShapes which I thought would be translated as MorphTarget in BabylonJS; but I don't see them in the compatibility list of the exporter: http://doc.babylonjs.com/resources/blender#blender-to-babylonjs-exporter

Any alternative ideas? maybe bones or drivers? ideally, I would like to have a single value "path width" that I can modify with a slider to increase/decrease the width of my bridges.

 

Link to comment
Share on other sites

Thank you for you answers.

I did not exported anything yet ^^ I wanted to make sure it was possible before to start. As said, morph targets do not appear in the compatibility list: http://doc.babylonjs.com/resources/blender#blender-to-babylonjs-exporter

On 10/29/2018 at 5:59 PM, JCPalmer said:

I do not know what a Blendshape is

That's the name used by Unity and Maya for Shape Keys.

On 10/29/2018 at 5:56 PM, Deltakosh said:

What I do not understand is: How do you render the bridges so far? GUI sprites? real 3d objects?

They will be part of 3D tiles; using the same tileset methods than the 2D one. I am hoping to open a WIP thread if my client agrees.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...