SteamVR

SteamVR

SteamVR Workshop
Customize your SteamVR experience by finding new backgrounds, 3D environments, controllers and base station models.
Learn More
Arkanno 19 Jun, 2022 @ 1:05pm
Using "point_value_remapper" to move a "func_movelinear", but it doesn't move smoothly
I'm trying to allow some interactivity on my map.
I've already made some options with buttons and triggers, but I wanted to allow the player to dynamically open a drawer.

So I used the "point value remapper" function with a start point and an end point. I tied a dynamic object (the drawer) to a "func_movelinear" and set one remapper's Output to:
- My output named: Position
- target: "drawer"
- Via this input: setPosition

It worked well, but the motion isn't smooth. Despite not being an animation, it looks like the motion is skipping frames, if you know what I mean.

I tried several settings at the "point_value_remapper", but with no success. Can anyone help me?

These are the point_value_remapper settings:
- Update on client: yes (default)
- Input position: Player Shoot Position
- Remap Line Start: "my_starting_point"
- Remap Line End: "my_end_point"
- Custom Output Value: -1.0 (default)
- Max Interp Change Per Second: 1000.0 (default)
- Disengage Max Distance: 5
- Engage Distance: 3
- Requires Use Key: yes
- Output Type: Animation Cycle
- Output Entity: "drawer"
- Momentum Type: Spring Toward Snap Value
- Momentum Modifier: 0.0 (default)
- Snap value: 0.0 (default)
- Ratchet type: Absolute (default)
- Input Offset: 0.0 (default)
< >
Showing 1-2 of 2 comments
Rectus 13 19 Jun, 2022 @ 1:48pm 
The point_value remapper entity is very buggy. I think it works the best with animated models though, which I think is how the drawers in the candy shop are set up.
Arkanno 19 Jun, 2022 @ 5:06pm 
You may be right. I was trying to avoid working with animations, as I'm still learning the basics.
< >
Showing 1-2 of 2 comments
Per page: 1530 50