Hey, at 8 min: Dont rotate the constraint or the panel mesh, just add in the constraint an angular rotation offset on Z axis of 45 degrees, and angular motor target orientation -45 ( or 45, doesnt matter) on Z axis. Works the same way and ignore the pivot problem. End of video after that :D Anyway thanks again for the tutorial!
@Lusiogenic6 жыл бұрын
Yes, you're right. I don't know why I didn't do that, because I knew about the rotation offset. Thanks for pointing it out! BTW, I don't understand why there isn't an offset for the position, also.
@VlatkoDojchinoski6 жыл бұрын
How can you access angular rotation offset in blueprints? I want my door to have offset 0 at first, and after opening with the key, change limit do 60 and offset to -60 for example?
@Sloot7865 жыл бұрын
Is it possible to add some weight to the door (i.e., make it so the character can't just blast right through it, swinging it open violently)?
@zeon3d7554 жыл бұрын
Very useful! I'm trying to figure out how would you setup a door if you are entering the house the door swings inward and swings back to close, if you are exiting the house the door swings outward and swing back close? So the door needs to ONLY swing once to close.
@juanmilanese4 жыл бұрын
I have a question regarding physics based doors. You can target a specific component in a BP (ej, the door handle) and still simulate physics in the rest of the door? How would you go about doing something like that? I'm having problems with that, you can't implement an interface for a component inside a blueprint right? it implements in the whole actor. So the question would be... how can you restrict interacting with a specific component and make that component modify another component also using physics in the same BP? Practical examples could be, anything with handles or Levers , a door, opening a window, rotating a crank etc.
@JAMbosco2 жыл бұрын
Thank you so much ! Much appreciated
@thiagodziedzic57186 жыл бұрын
This was exactly what i wanted tyvm!!!! Amazing vid
@Comrade_Lenin19179 ай бұрын
Hello, I know this video is 5 years old, but could you please explain how you made the door so stable? In my case, the door rotates but also swings up and down and side to side, and it doesn't seem to be on a solid axis. I'm using grabbing via a physics handle, but I also tried using a physics constraint, and the result is the same.
@TaylorGSquared Жыл бұрын
Thanks bruv!!
@rifat.ahammed2 жыл бұрын
Thanks
@arielshtern41254 жыл бұрын
Worked perfectly, thanks!
@DAVELEAP5 жыл бұрын
Hi Andre. Thank you for your precious tutorials. I have a question about a cat hinge door I've done following this tuto. It's a door rotating vertically and it has to open when the cat pushes it with its body. But when it goes through the door it's just like if it smashes it : the door open very quickly. Even if I approach pixel by pixel. Then if I stay under the open panel and I go back, it releases slowly, following the contact of my character, just like it has to be. If you (or some of your followers) can help me, that would be very nice.
@Lusiogenic5 жыл бұрын
That could be either because your character has a push force that is too great (check the character setup) or because the constraints are not set up properly. I would have to see a video of that to figure out why.
@VlatkoDojchinoski6 жыл бұрын
Perfect tutorial ( and all other on your channel! ) I have question: Is there anyway that you can make the object rotate but the view camera not since this is working with input axis? I'm trying to do amnesia style door, with physical door, in that way you can click and drag to open the door, but only the door is rotating and not the whole screen? Thank you, and thank you for tutorial once again.
@Lusiogenic6 жыл бұрын
Thanks! Yes, you can do that. When you want to rotate the door, you have to disable the mouse input for the character (InputAxis Turn and InputAxis LookUp). Then, you send those movements of the mouse to the door object, using get and set functions. With those values, you then change the rotation of the door. When you stop using the door, you have to re-enable the movements of the mouse for the character.
@VlatkoDojchinoski6 жыл бұрын
@@Lusiogenic tnx a lot !
@ClemKlootShoops5 жыл бұрын
great tutorial mate
@urmcchromez94263 жыл бұрын
how do we make it so you have it swing open and stop, so it remains open until you actually put it back in place?
@megtwin4 жыл бұрын
Could you please outline what all the collision settings are on each object? Mine keep going crazy.
@EminorReal6 жыл бұрын
Thanks for this video friend.
@franman513 жыл бұрын
How would you apply Physics Constraint to a pinball flipper? So when a user pushes a button the flipper springs up by 60 degrees and when the button is released, the flipper returns back to its original orientation.
@Lusiogenic3 жыл бұрын
See this tutorial: kzbin.info/www/bejne/pna1p4Coic1qitk
@nathansmiddy6 жыл бұрын
Hi, The issue I'm having with doors are from the marketplace, the doors I got never have a BP that allows it to open and close and I don't like been made into having to use the starter content doors for my horror project game!
@Lusiogenic6 жыл бұрын
I'm not sure I understand your question. This tutorial should apply to any mesh. You can use the door mesh from the content examples.
@OBrobzero6 жыл бұрын
HI, I'm not sure where I'm going wrong. When I run into the door in VR it just gets knocked over. I can't seem to get it to stay in one place and turn on the axis. Any thoughts? Thanks!!
@Lusiogenic6 жыл бұрын
You've probably made the axis constraint breakable. Look for Linear Breakable and Angular Breakable and uncheck them. If these are unchecked and it still doesn't work, then the constraints are probably not working at all. The door sits there because without any forces acting upon it, the engine disables the calculation of physics on it. When you touch it, it re-activates the physics and the door just falls over. If that's the case, make sure that you're entered the correct component names in the constraints and that you have properly configured them.
@TheGreatAwesome4 жыл бұрын
I followed the tutorial exactly, but when I enable physics, the door disappears when playing the game. It doesn't fall or anything. It's just not there.
@dragoonduneman41615 жыл бұрын
Question while it look super cool.... once you run thru it... you cant go thru it again until its reset to 0.. any idea how to disable that once its blocked ?
@Lusiogenic5 жыл бұрын
Not sure what you mean by that. The door swings back, so you should be able to go through it.
@zekidede45666 жыл бұрын
Hello Bro How Can I Control This physics Object With My Mouse ?
@zekidede45666 жыл бұрын
I Mean, I Wanna Drag Door With My Mouse.
@Lusiogenic6 жыл бұрын
Yes, you could. Never tried it, though. This tutorial should help: kzbin.info/www/bejne/e3PcfZarZ5WKpaM
@thanhcongnguyen6975 жыл бұрын
@@Lusiogenic hi pro.I have the same problem as him. but I clicked on the pro link in the comment and the video was gone. hope pro help ! please
@Lusiogenic5 жыл бұрын
@@thanhcongnguyen697 Hi, I have updated my previews comment with the only video I found on the subject. Please check it out.
@Matthew.19945 жыл бұрын
i try to implement this into my vr project :D lets see if i can do it :D its a nice tutorial
@Mnogomer4 жыл бұрын
How you touch door. Can you show blueprint please??
@Lusiogenic3 жыл бұрын
Yes, here's the tutorial for that: kzbin.info/www/bejne/n6POZoF3qquDg8U
@Lusiogenic3 жыл бұрын
If not, you can find the character actor implemented in the free project file from this video: kzbin.info/www/bejne/eJXHZHiXi7yraMk
@JR-rw4ms3 ай бұрын
thanks you
@kathoden3 жыл бұрын
To achieve the same effect without playing the game, copy and paste the nodes to the construction script
@MaxSMoke7775 жыл бұрын
This doesn't cover how the player's character grabs the object in the first place.
@MaxSMoke7775 жыл бұрын
Ok, *THIS* is the video where he talks about the stuff you'll need to do this tutorial. Without viewing this other video first, this tutorial is pointless. kzbin.info/www/bejne/n6POZoF3qquDg8U
@Lusiogenic5 жыл бұрын
@@MaxSMoke777 You're right, I'm sorry about that. I use that grabbing mechanic in almost all of my physics tutorials. I should really mention it on every video. Thanks for the input!
@Lusiogenic5 жыл бұрын
I've just made a tutorial for grabbing using the mouse pointer: kzbin.info/www/bejne/n6POZoF3qquDg8U
@eineatombombe2 жыл бұрын
you know how to make literally anything using physics constrains
@iaandrei5 жыл бұрын
Had angle problems with this. Only worked when facing one direction established in the blueprint editor. Fixed it by going like this, for anyone looking. answers.unrealengine.com/questions/132521/physics-constraint-issue.html
@pointlinepolygon2 жыл бұрын
Hey - I hit this snag as well but the link to your solution seems to be dead. Would you mind posting the solution again? Thanks!
@iaandrei2 жыл бұрын
@@pointlinepolygon Hey, sorry to tell you but it's been some time and I no longer have the project in which I used the solution. I'm afraid I don't have the resource or the knowledge to help you in this case. I will post a reply if I find anything though.
@COREYYILLDER5 жыл бұрын
I keep walking through my door
@Lusiogenic5 жыл бұрын
Check that the door mesh has simple collision attached to it. Also, check that the door component's collision preset is set to PhysicsActor.
@johnja90173 жыл бұрын
this bullshit, just add the rotation offset to 45 degress.