So I spent this week fiddling with physical materials and blueprints to create terrain that will slow down the player. I tried adjusting friction, but that only seemed to affect how quickly I could change direction. Everything else I tried seemed to either have no appreciable effect or caused the ball to just ricochet off the terrain. In one case, it actually pushed the ball to the side continuously. Here's what I finally did:
This blueprint is appended to the end of the ball's controls. Not
pictured is the blueprint that detects a "terrain" blueprint and sets
the boolean variable that branch is testing. The vector variable "Drag" is set to 2.0, 2.0, 2.0, hypothetically cutting velocity in half.
As you can see, the ball now stops completely after a couple centimeters and you have to keep pushing it to continue moving. I think that qualifies as "Slowing down" for now.
No comments:
Post a Comment