#Fix motion trail persisting on set position

1 messages · Page 1 of 1 (latest)

waxen timber
#

Delay

#

a very short one

#

still didn’t work?

#

before

#

so put like 0.1s

#

so it can have time to disable

#

right after disabling

#

after delay, set pos

#

no

#

if the disabling was instant it wouldn’t have a problem

pseudo smelt
#

I got a idea

#

before you shoot the second bullet

#

Set the position of the trail under the mao

#

map*

#

Then set it back

#

I'm not smart

#

Maybe work?

waxen timber
#

after set pos

#

yeah

#

yeah so the auth of the piston will always be not laggy

#

for everyone else it looks bad

#

nope. possibly not using a piston might make it a little less choppy but idk. This all happens because of the way rec room sends events to other players

waxen timber
#

Tell me if the short delay works

rotund steeple
#

Pretty sure its as simple as:

Disable
Set Position to gun barrel
Enable
Set position to bullet hit position

#

no delays required, local player must be authority of bullet trail

#

no

#

no piston

#

I dont suggest a delay

#

As long as you are:

  • Disabling motion trail
  • Teleporting motion trail to gun barrel position
  • Re-enabling motion trail
  • Teleporting motion trail to raycast hit position

it should create a trail from gun to bullet hit pos, if it doesnt do it, switch to a unity particle system for a trail lol

#

yes

#

Nothing is "Too slow"
take a photo of your circuits, I want to see the execution order

#

Are you the only player in the room?

#

then yeah, use a studio trail or particle system

#

I know particles work, not so sure about trails
(As in, if they work for disable/teleport/enable/teleport thing, i know they both work)

#

There is probably a studio event for Trail.Stop and Trail.Start

#

worst case, a particle system works the exact same if you make it emit by distance