Realistic Physical Objects in VR - Unreal Engine 4 Tutorial

  Рет қаралды 32,183

Marco Ghislanzoni

Marco Ghislanzoni

Күн бұрын

This step-by-step tutorial shows how to rig in Blender and then use in UE4 a realistic physical object like an old lamp.
The object can be grabbed and carried around while it still collides with the other physical objects in the level.
Based on my demo here: • Realistic Physics Asse...
The old lantern mesh (slightly edited) is courtesy of Iridesium:
free3d.com/3d-...

Пікірлер: 86
@stephenhidalgo7608
@stephenhidalgo7608 6 жыл бұрын
Nice, would it be request for a interactive weapon (e.g inserting magazine, or bullet shells etc.) tutorial, thanks for helping the community
@bob28418
@bob28418 6 жыл бұрын
fantastic sir keep up the good work
@nubeslocas
@nubeslocas 6 жыл бұрын
this tutorial saved me SOOO many headaches! Thanks man!!
@shingAMarie
@shingAMarie 7 жыл бұрын
Hey Marco I just stumbled upon your page. I haven't seen anything much yet but it all looks promising. Thanks for it all. The initial blender part sunk my heart hahah because I have been avoiding that like the plague. But thankfully I can still understand the tutorial. Hopefully we seee many more from you!
@marcoghislanzoni
@marcoghislanzoni 7 жыл бұрын
Malo Sal LOL! I am showing Blender because this is what everyone has easily access to. Blender has great functionalities, but the worst UX/UI ever conceived. Bforartists is a better fork from that standpoint. Anyway you can easily do the same with Maya and others, I am sure you knew already.
@DanielMaxSteinberg
@DanielMaxSteinberg 6 жыл бұрын
Hi Marco, I just want to say I love your content! I'm a college student in the US excited about developing for VR, and your videos have been extremely helpful. I'm currently trying to make a VR "grab-able" book. My technique, which may be a little circular, is to make a simple hinge like this and take the angle from it to drive a more complicated alembic animation of a book opening. The player would be interacting with this skeletal mesh while thinking they're interacting with the alembic itself. I hope that works!
@marcoghislanzoni
@marcoghislanzoni 6 жыл бұрын
Hi Daniel, nice meeting you! I am really pleased to hear my tutorials are helpful. :-) The best way about to verify if your concept is sound, is to setup a quick project to test it. It doesn't have to look pretty, but it has to have the basic interaction in place so you (or, better, someone else representing your average player) can try it out. You want to find out rather sooner than later if your idea works as expected or if you need to look for alternative solutions. Having taught myself to many students, this is one of my top recommendations to you. Good luck with your project and, if you get stuck and need help, you can always post on the official VR/AR Forum or join the Unreal Slackers server on Discord.
@DanielMaxSteinberg
@DanielMaxSteinberg 6 жыл бұрын
Thanks so much for the reply, Marco! I'm hoping to get a basic implementation to work soon. Thanks for pointing me towards the forum and Discord server too, I'll definitely use those when I need help! :)
@PongaloenH
@PongaloenH 7 жыл бұрын
THANKS! More VR tutorials pleasee!
@marcoghislanzoni
@marcoghislanzoni 7 жыл бұрын
Sure. I have some more in the pipeline. What would you like to see next?
@AICineVerseStudios
@AICineVerseStudios 7 жыл бұрын
It would be great if we can have a tutorial on event dispatchers in VR where from a widget events, one can interact with level blueprint (for example an interactable widget menu, firing event to run a matinee through level blueprint) Also if possible, how to access another blueprint from a widget in VR.
@PongaloenH
@PongaloenH 7 жыл бұрын
Hi Marco thanks for ask! It would be interesting to show how to create loading screens in vr. It might be done with level streaming but I'm not sure. I mean a 3D loading screen ;)
@PongaloenH
@PongaloenH 7 жыл бұрын
Also will be really awesome how to punch and get an AI reaction in VR with ue4. There isn't any tutorial about this!!
@Paulicz
@Paulicz 5 жыл бұрын
​@@marcoghislanzoni Hello! Please make a tutorial about right pickuping (apex) destructibles and chunks in VR. Still unanswered topic for me...
@luarlarep6069
@luarlarep6069 7 жыл бұрын
Great tutorial , thanks you
@WantedinHell
@WantedinHell 5 жыл бұрын
Thanks, saved me some time. :)
@joker-jd3jd
@joker-jd3jd 3 жыл бұрын
What version of blender
@joker-jd3jd
@joker-jd3jd 3 жыл бұрын
Pls New version
@marcoghislanzoni
@marcoghislanzoni 3 жыл бұрын
Why? It works with the latest versions of the engine as well.
@joker-jd3jd
@joker-jd3jd 3 жыл бұрын
@@marcoghislanzoni It has been 3 years since the blender in the video is too old and I could not do the project. Pls pls pls
@isimsiz2520
@isimsiz2520 3 жыл бұрын
@@marcoghislanzoni yes yes pls New version
@xdz4464
@xdz4464 3 жыл бұрын
Thanks for the tutorial,I come across an issue that I can't figure out how to fix. Please help.I want to push a box with my hand. How to make the box stationary and my hand won't penetrate it
@marcoghislanzoni
@marcoghislanzoni 3 жыл бұрын
That is rather complex and I cannot explain it in a comment. Have a look at the VR Expansion plugin, it has a working concept about physical hands.
@xdz4464
@xdz4464 3 жыл бұрын
@@marcoghislanzoni Thank you for your reply
@struggling3dartist910
@struggling3dartist910 Жыл бұрын
What wouldn't I give for a Desktop PC version of this. Does anyone know if there is such tutorial anywhere?
@marcoghislanzoni
@marcoghislanzoni Жыл бұрын
Not sure what you mean with Desktop version. The same physics can be applied also to a desktop game, not only VR.
@Zanywaney
@Zanywaney 3 жыл бұрын
Could this tutorial be applied to other physics based objects like flails or ropes?
@ShunRayShine
@ShunRayShine 6 жыл бұрын
Great Great tutorial!!! This save my project♪Thanks a lot! One question, is it possible to use other hand to control bottom part? Same skeletal mesh situation.Left hand grab handle.Right hand grab bottom part to control rotation.
@marcoghislanzoni
@marcoghislanzoni 6 жыл бұрын
You are welcome. Yes, it is possible. You need to use a technique similar to what I show here: kzbin.info/www/bejne/ramuipqAoshol5o
@AICineVerseStudios
@AICineVerseStudios 7 жыл бұрын
Marco, for me you are UE VR genius. Honestly been working on a VR project from last one month and seen countless tutorials but I have never come across as advance and as simple as yours. This tutorial, though I have nothing for my project to use it for but definitely I'm getting ideas where I can use it. I just have a question , in the drone youtube you made , in which you were able to see through drone camera on a tablet actor. How were you able to show from drone's camera into the tablet screen?
@marcoghislanzoni
@marcoghislanzoni 7 жыл бұрын
Thanks pal! :-) The drone is equipped with a SceneCapture2D component, which acts like a camera but renders what it "sees" to a texture on every frame. Then you use that texture to make a material. Apply the material to a plane and you have a screen showing what the drone sees. Mind the fact that the behavior of the SceneCapture2D component is currently a bit buggy in VR, so it may not always work as expected. This is being investigated by Epic.
@AICineVerseStudios
@AICineVerseStudios 7 жыл бұрын
Cool, well as long as the functionality is there , it will surely enhance in the future by epic but what I see till now can work for a proof of concept I'm working on.
@afan3d907
@afan3d907 7 жыл бұрын
finally Thanks.....
@Maxparata
@Maxparata 7 жыл бұрын
Wow! Just discovered your channel, I don't even remember how, but there are definitely cool stuff around here! Keep up the good job! I would love to see more and more VR tutorials in the future. Do you know, by any chance, how to have access to the HTC vive front camera in VR and display it on a simple render texture?
@marcoghislanzoni
@marcoghislanzoni 7 жыл бұрын
Hi Maxime, thanks for your nice words! Unfortunately I don't know much about the Vive since I develop with the Oculus Rift. I think I saw this question before though, so you may want to Google it or ask on the forums.
@bluethumbbuttoneek9465
@bluethumbbuttoneek9465 5 жыл бұрын
The blend file was all 1 mesh? The handle wasn't seperate when I opend it
@marcoghislanzoni
@marcoghislanzoni 5 жыл бұрын
Bluethumbbutton Eek that is a skeletal mesh. The handle is connected to a bone and the bucket to another bone.
@bluethumbbuttoneek9465
@bluethumbbuttoneek9465 5 жыл бұрын
@@marcoghislanzoni ah thanks will try again soon 😅
@MRGiorMR
@MRGiorMR 5 жыл бұрын
how do you pick up skeletal mesh, i cant grab but it interacts when i push the button of controller?
@marcoghislanzoni
@marcoghislanzoni 5 жыл бұрын
11:17 in the tutorial. Make sure Generate Overlap Events is checked.
@CuboidCarrot
@CuboidCarrot 6 жыл бұрын
Hello! Wanted to thank you for the tutorial. I did come across an issue that I can't figure out how to fix. Please help. When I pick up the lantern, it stiffens up and does not swing the way it should. It does seem to swing how it should when I drop it however. Another thing is when I bring the lantern towards my body, it flings me away. I feel like those two issues are linked since the regular BP cube does not. Please note that I am very new to UE4, so most likely...and hopefully, I merely committed a dumb.
@AOTAvids
@AOTAvids 5 жыл бұрын
Did you figure out your problem? Set the collison on the lamp first and foremost so it just overlaps the player and maybe like projectiles too just to be sure. Then to make sure that the physics work in the physics asset menu is a bit more of a process, but just making sure that you have contraints how you want them. You can limit vertical movement but you can also limit twists/rotations. Youll be more interested in the twists rotations to make sure they're limited to whichever motion you want. You might also get another issue if you run into the error where your constraint seems to be springing slightly when resting so that's an example of when you'd need to turn the spring setting off as well. These last two things can be found underneath the physics asset and whichever constraint you're hoping to work on in that moment.
@bluethumbbuttoneek9465
@bluethumbbuttoneek9465 5 жыл бұрын
Also what's the purpose of the uv projecting part
@marcoghislanzoni
@marcoghislanzoni 5 жыл бұрын
Bluethumbbutton Eek if you don't UV-unwrap a mesh Unreal will not know how to put a material on it. It will look fine when you first import it, but then it will turn completely black.
@bluethumbbuttoneek9465
@bluethumbbuttoneek9465 5 жыл бұрын
@@marcoghislanzoni ah yeah ok was just wondering since it had nothing to do with the object interaction I know what uvs are for just didn't know what it had to do for this objective 😅
@YunaQQQQQ8
@YunaQQQQQ8 4 жыл бұрын
Can you please just upload a rigged lantern alone please? I've tried doing this now with both Blender and Maya but doesn't get anywhere. In Maya the bones deforms the lantern like crazy and in Blender the Vertex Group doesn't even show the bones. I've been sitting like 30-60 mins now just going back n forth between programs and attempts and videos. The headache and irritation over these programs is reaching its point. Can you help me out?
@digitalillusioncalo
@digitalillusioncalo 6 жыл бұрын
Very Nice! I have a question: When I enable Post Processing Effects/Lights/Textures I lose a lot of FPS and the hands have a low tracking quality, how can I fix it? Thank you!!
@marcoghislanzoni
@marcoghislanzoni 6 жыл бұрын
Hi there. These are very demanding features to use in VR, you should be careful with them. If the system cannot keep up with the optimal FPS, everything will slow down, including your tracking that will become jittery. Look through the UE4 documentation, there is a whole section on how to optimise for VR (i.e. turn off screen space effects, use the forward rendered, stereo instancing etc.)
@digitalillusioncalo
@digitalillusioncalo 6 жыл бұрын
Marco Ghislanzoni Ciao Marco non avevo notato fossi italiano, innanzitutto complimenti per le ottime guide e per la condivisione, tornando al punto ho letto la documentazione ma non ho trovato fix, ho cercato la stringa screen percentage nel file defaultengine.ini ma non l'ho trovata. Grazie ancora!
@marcoghislanzoni
@marcoghislanzoni 6 жыл бұрын
Ciao Paolo, grazie per l'apprezzamento. Questo e' il link di cui ti dicevo: docs.unrealengine.com/en-us/Platforms/VR/ContentSetup . E' anche importante misurare dove si verifica il calo delle performance, se lato GPU (GPU bound) o lato CPU (CPU bound). Questo e' un riferimento utile in proposito: docs.unrealengine.com/en-us/Platforms/VR/Profiling . Se vuoi posta i tuoi problemi sul Forum VR/AR di Unreal oppure su Discord #vr-ar. Li' mi e' piu' facile offrire aiuto che qui su KZbin dove non si possono postare progetti, immagini, etc. A presto.
@digitalillusioncalo
@digitalillusioncalo 6 жыл бұрын
è possibile avere un invito per discord?
@marcoghislanzoni
@marcoghislanzoni 6 жыл бұрын
Non credo serva un invito. Basta iscriversi discordapp.com/register collegarsi al server Unreal Slackers.
@k1qu344
@k1qu344 7 жыл бұрын
I cant manage to make it work, i've followed all the steps and it seems like my object is simulating physics at all times preventing me to pick it up. Do you think it is because my object has a cloth component to it attach to one of the bones?
@marcoghislanzoni
@marcoghislanzoni 7 жыл бұрын
Enrique De la Garza It is hard to tell without seeing your object and testing it out. It could be. Try to remove the cloth and see if it works without, then you know. Can you turn off collisions for the cloth?
@M4v3RicK99
@M4v3RicK99 6 жыл бұрын
hey, do you know how I'd be able to make the hands snap to the object upon interaction? (In this case, grab only the top handle of the lamp v/s being able to grab any part of it while also having the hand model snap to place around the grip.
@marcoghislanzoni
@marcoghislanzoni 6 жыл бұрын
M4v3RicK99 You can create a socket on the hand skeletal mesh and have the lamp snap to it when you grab it.
@jacquesachille7365
@jacquesachille7365 6 жыл бұрын
And subbed!
@MeriapipFriendsProductions23
@MeriapipFriendsProductions23 6 жыл бұрын
i tried to keep up in maya but found the rigging hard; are you confident in maya to produce the same tutorial but in maya at all?
@marcoghislanzoni
@marcoghislanzoni 6 жыл бұрын
I am not very familiar with Maya, but it works pretty much in the same way. As long as you can rig a couple of joints, you should be able to reproduce the example in the tutorial. This could be a good reference for you to get started with a simple rig in Maya: kzbin.info/www/bejne/eXeWo6imn76Kl5Y
@DanielMaxSteinberg
@DanielMaxSteinberg 6 жыл бұрын
Your videos have been super helpful for me. Thanks for the great tutorials! I'm trying to figure out how to do something similar to this for my own project with a more complicated model (a book, from this tutorial: kzbin.info/www/bejne/m3OsqZajYrlmhdE), and would love if you have tips for that. Is there a way to build the more complicated restraints/deformations in UE4, or can you bring them in from Blender somehow?
@macko5000
@macko5000 7 жыл бұрын
Hey dude, awesome stuff! I just wondering can you make a tutorial with something that i want to create. Im trying and trying and it doesnt work. I will send you money via paypal and i will describe everything in detail but i think its not so hard so you will spend a few hours only - i think but may i be wrong. If you are interested to make some new year cash and help young future game devs it would be awesome :D cheers man! And happy new year! best wishes!
@marcoghislanzoni
@marcoghislanzoni 7 жыл бұрын
Hey, send me a private message here on KZbin (it's in the About tab) let's see if I can help you out or at least point you in the right direction.
@bluethumbbuttoneek9465
@bluethumbbuttoneek9465 5 жыл бұрын
And why do you not talk? Or atleast throw a like Alexa type of robot auto speech voice over..
@marcoghislanzoni
@marcoghislanzoni 5 жыл бұрын
Because this is my style of tutorials and I have chosen to have no voice track so you can listen to your favourite music while watching them.
@bluethumbbuttoneek9465
@bluethumbbuttoneek9465 5 жыл бұрын
@@marcoghislanzoni I could turn off the videos volume if I wanted to play music while trying to learn something. Verbal and demonstration is best way for me to learn reading then rewinding/pausing is more tedious
@bluethumbbuttoneek9465
@bluethumbbuttoneek9465 5 жыл бұрын
@@marcoghislanzoni happy u replied to an older video comment not many do this
VR Pawn Movement using Hand Activated Controls - Unreal Engine 4 Tutorial
18:05
Enceinte et en Bazard: Les Chroniques du Nettoyage ! 🚽✨
00:21
Two More French
Рет қаралды 42 МЛН
Леон киллер и Оля Полякова 😹
00:42
Канал Смеха
Рет қаралды 4,7 МЛН
UE4 Quest 2 VR - Better physics FEEL on objects
4:17
Drawcall
Рет қаралды 5 М.
I Beat Minecraft From One Grass Block
35:27
Beppo
Рет қаралды 7 МЛН
VR Spectator Screens in Unreal Engine 4
9:19
The Unrealist
Рет қаралды 17 М.
I Remade Star Wars VFX in 1 Week
10:39
ErikDoesVFX
Рет қаралды 3,2 МЛН
Unreal Engine - VR Optimization
13:49
Unreal4Real
Рет қаралды 18 М.
Can I 100% Superliminal and Get a Refund?
23:36
Gronf
Рет қаралды 405 М.
I should have tried this earlier - Bigscreen VR.
11:07
optimum
Рет қаралды 3,5 МЛН
Perfect VR weapons grabbing tutorial - Unreal Engine 4
9:38
Marco Ghislanzoni
Рет қаралды 38 М.