Every time I search for something, you drop a video from the sky, thanks!
@DeepFriedOreoOffline3 жыл бұрын
This is EXACTLY what I have been looking for! I have been trying to setup making a door in VR, and I knew the base logic I needed to figure out was how to make the physics constraint work how I need it to so I don't have to worry about too much complex actions like breaking the constraints, rotating the door manually with angular math, applying a new constraint, transfering the velocity... If the door can only move in the intended direction, who cares what way the player's hand is going? This is well explained :) For the record, around 6 minutes where you are pointing out the difference in the positive and negative axis movement, I am pretty sure that is just due to the difference in world/relative axis :) You are trying to use the relative axis values available in the blueprint, and align them to the world axis in the level. Your fix is a good one though! I typically spend a few extra minutes playing with things to find the proper world rotations.
@michaelvollrath31924 жыл бұрын
I implemented similar logic for a switch and was stuck trying to get it to snap between two points. Your method solved it for me. Thank you for this awesome tutorial!
@sergeyzhukov37966 жыл бұрын
WOW. This is mindblowing. So many things i can do now. Thank you , for your channel!
@domingogonzalez82834 жыл бұрын
Great, a lots of thanks to helps us with your work. One question How to use physic constranct so that when you grab a lever it moves in the direction in which we push it as a direction control and that it returns to its central position if we do not exert pressure ..... forward, back, left, right ..... can you make a tutorial about it. Thank you.
@luwinkre23715 жыл бұрын
Amazing work, but I wonder if you could upload a VR version of this series?
@Lusiogenic4 жыл бұрын
This should work in VR, as-is. There's no special setup for that.
@megtwin2 жыл бұрын
I love these, they're so helpful!!
@alekseykarpov74193 жыл бұрын
Sorry. Could you attach KettleBellWeight or explain how to make hole in collision. I dont know how to use meshes with hole.
@BartalamBane6 жыл бұрын
Thank you for the good lesson👍
@petripekkarinen25594 жыл бұрын
Great tutorials! Using this method could it be possible to attach the base of the lever to another object that is moving and rotating in the scene? How would the physics constraint work then, anything that should be done differently?
@jamesjiang9620 Жыл бұрын
Trying this in unreal engine 5.1 and it appears the linear limits and Angular limits are broken for me and I can't even recreate the same result in 4:48, can anyone help?
@sfefecebi3 жыл бұрын
can you make a physical button tutorial
@robertmaxwell73504 жыл бұрын
Thank you for the tutorial, would it be possible to configure it for more than 2 positions?
@Lusiogenic4 жыл бұрын
You can set up how many positions you want. You just have to make the Blueprint code for them.
@nijq4 жыл бұрын
Love your tutorials!!! I followed in C++ and when I grab the handle and push/pull it all the way to one side, it sometimes gets stuck (goes to sleep?) until I grab it again or collide with it. The OnConstraintBroken event does not fire. Has anyone experienced similar? im using 4.25.1
@shadesmadness43996 жыл бұрын
Would there be a way to implement this to make an actor rotate? Or activate and deactivate a physics constraint that makes an actor rotate? I've been trying to make a lever to switch a fan off and on but I'm having issues trying to get it to rotate.
@Lusiogenic6 жыл бұрын
Yes, it's entirely possible. Instead of turning the light bulb on and off, you turn on a physics constraint, like you said. Check this tutorial to see how to make a wheel rotate: kzbin.info/www/bejne/bZ69aouKga55j5Im32s To make it stop or start, set the Target Velocity of the physics constraint to either 0 or a value that you want. BTW, I've also done a blowing fan tutorial if you're interested: kzbin.info/www/bejne/gGrPh3R6rslrkLM
@Albert-Freeman6 жыл бұрын
Hey thanks for your tutorials... Would be great if you do one on 'how to grab objects' I have seen some but all tutorials are outdated an some nodes in blueprints to code it they just don't exist anymore and I can't find an actual good tutorial...
@Lusiogenic5 жыл бұрын
Already made it: kzbin.info/www/bejne/n6POZoF3qquDg8U
@kingofwar14224 жыл бұрын
i can't send the 'use' signal to the thing i want to start a event i've followed the other video with the trebuchet but i can't figure out how i can fix it
@sfefecebi3 жыл бұрын
can i turn this into a button
@moocows1111116 жыл бұрын
Hey again, how did you create cast to use at 10:57?
@Lusiogenic6 жыл бұрын
First, you need an interface, in order to have something to cast to. Then, in the blueprints, in order to make the interface appear when typing "cast", make sure that you uncheck "Context Sensitive", like I did at 10:53 .
@Lusiogenic6 жыл бұрын
I've shown how to create the Use functionality and the Use interface here: kzbin.info/www/bejne/m4q3ZYCPhKuSZ6Mm36s
@Unknown-oc3lm Жыл бұрын
Does this work in Unreal Engine 5?
@vrmaurice4 жыл бұрын
5:05
@chandrabuana96 жыл бұрын
need help here, im new in UE4, i really didnt know how you grab that liver with mouse? anybody can help me?
@Lusiogenic5 жыл бұрын
Check out this tutorial: kzbin.info/www/bejne/n6POZoF3qquDg8U
@fahood92423 жыл бұрын
how would i get the player to grab the lever i know its physics handle but idk how to use it
@Lusiogenic3 жыл бұрын
Physics constraints can do that also: kzbin.info/www/bejne/n6POZoF3qquDg8U
@fahood92423 жыл бұрын
@@Lusiogenic Yyoo thanks but i couldnt get mine to grab the lever. i used physics handle btw
@Lusiogenic3 жыл бұрын
@@fahood9242 I can only vouch for my method. Try it and see how it goes.
@fahood92423 жыл бұрын
@@Lusiogenic igth
@WeisterXDprogrammer5 жыл бұрын
how to maKE this work on VR? with the hand got any idea?
@Lusiogenic4 жыл бұрын
This should work in VR with no modifications.
@ijazahmad70775 жыл бұрын
Hi, have you implemented this lever mechanic in VR?
@moocows1111116 жыл бұрын
Do you have the models for the base and handle?
@Lusiogenic6 жыл бұрын
Yes, I do. I don't know why I haven't posted them. I'll put them up as soon as possible.
@Lusiogenic6 жыл бұрын
I've uploaded the 3D models for the asset. You can find the links in the video description.
@moocows1111116 жыл бұрын
Thanks! Also you know when you go into the game after clicking play, how did you interact with the object to see if the lever is working? I cant seem to get mine to work properly. I'm quite new to unreal but your tutorial has made me understand a lot for the project that I am working on :D DD
@Lusiogenic6 жыл бұрын
In order to be able to grab the object using the player character, you have to implement this tutorial : kzbin.info/www/bejne/n6POZoF3qquDg8U It should work, afterwards. :)
@hasarangaamarathunga92793 жыл бұрын
Cast to I_use not showing
@ultgamercw67595 жыл бұрын
I am having a problem where my handle just keeps falling off the base. I am about five mins into the tutorial and can't find out what is wrong.
@Lusiogenic5 жыл бұрын
You physics constraint is probably not set up correctly or it isn't connected to the two objects. Check the name of the connected components.