Saltar al contenido principal

Búsqueda

Set the transform on a sculpt directly

  • mmdev1 - John & Luci

    Hi, you can't wire it directly.
    But using a position and a teleporter is the right way to go,
    On the laserscope there is a " hit position " output, you can wire that into the teleporter or folliwer position :)

    John

  • davidnorth100

    Great. I thought teleporter only worked with a tag name. Thanks!

  • Aecert

    The tooltip specifically says the teleporter requires a tag, and I'm fairly sure it is right.

    If it didnt need a tag it would be infinitely more useful though..

  • Ryulord

    I think Aecert is right. I'm looking at the teleporter right now and it appears to require a tag. There's also no input on the scene space transform of a tag so that's not a viable workaround. I think one of these really needs to be changed.

  • davidnorth100

    That's a real shame if true but then how was the Minecraft demo done I wonder. Seems like the block preview is moved instantly between discreet positions. I assumed teleporter was used.

  • Ryulord

    I'm not sure exactly how that level was done but my best guess is that they're using tags with their transform pointing exactly 1 block length in each direction from each existing block so that they can spawn in new blocks using a teleporter. This is a bit clunky but works as long as you only want to put things at specific points relative to existing objects.

  • crocodilebutter

    A workaround (that may or may not be sufficient depending on your situation) is to wire your transform signal into the Scene Space Transform input of an emitter. That will allow you to emit a new copy of your sculpt at the desired position/rotation. You'd have to have logic to destroy the old copy of the sculpt at the same time. It's not ideal but that has worked for me.

    Having a scene space transform input for the teleporter would be great though.

  • Alfinch

    I've implemented a "teleport to transform" gadget which is built on Crocodilebutter's suggestion:

    https://indreams.me/element/b8uscng_Y0c

    On a signal it emits an incredibly low detail, invisible, non-collidable object with a tag at the given scene space transform, then teleports the attached object to it, then removes the emitted object. I've tested it and it works really well.

    The only issue is that you need one of these gadgets per object you want to teleport because each one needs its own unique tag name, but for my purposes it solves the problem.

    Still, would love to just set the transform on an object directly instead!

Iniciar sesión para dejar un comentario.