|
Post by tanoshimi2000 on Jul 1, 2023 14:52:01 GMT
Ok, so I want to open a giant door, but not a single push button to open it, more like keep pushing until it's open. I have a giant door, on a hinge, and it works, but how do I get the player to push the door open? I'd like to use the Push add-in, if possible. I did try putting an invisible Pushable object in front of the door, and that kind of works. It almost looks right.
Related question, can push be used to rotate objects? The doors swings so it rotates a bit and I don't want the character going straight. But also, I have blocks that have to be moved, and I'd like the player to have to turn them to align them as well. Can I convert the side to side movement from strafing to rotating?
Last question, and related to the Action system. I want to make the player have to continually tap the action button, rather than click once. Is there a way to have the action perform while the button is hit, and stop if it's not? Or is it just a trigger/start system.
|
|
|
Post by Invector on Jul 3, 2023 13:12:11 GMT
1- It's probably easier/recommended to use a genericaction instead. 2- The way the Push add-on was created is to move only fwd/back left/right, no rotation 3- Our generic action system has a few input options like double time or press and hold but no continue tapping
|
|
|
Post by tanoshimi2000 on Jul 4, 2023 19:26:03 GMT
Thanks for the rapid reply!
I've modified the Generic Action system's input to count button presses, and when it reaches the desired number, it fires the event. I may go back later and put in checks to make sure they're pressing it fast enough. Essentially, making it a collection of DoublePresses.
I'll probably make a generic action to work the door.
Thanks again for the info!
|
|