Announcement

Collapse
No announcement yet.

Angular limits problem

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Angular limits problem

    Hey, I am creating this thread just to somehow show what is happening since I am not able to record any video right now and I have no idea how to share assets via forums.
    So my goal is to create a car, which upon getting hit to the side will open its doors and they will then simulate physics still attached to the car body like on a hinge. Skeletal mesh is car body and wheels. Doors are separate static meshes.
    To do this, I have decided to attach them via constraints, lock every possible movement and then via blueprint enable one axis around which they will twist. I made action event so I do not actually need someone to hit me. The blueprint:Click image for larger version

Name:	first.jpg
Views:	1
Size:	393.6 KB
ID:	1180770
    How I set the physics constraints:Click image for larger version

Name:	second.jpg
Views:	1
Size:	389.6 KB
ID:	1180771
    Upon triggering the blueprint to free one axis.Click image for larger version

Name:	third.jpg
Views:	1
Size:	451.7 KB
ID:	1180772, the doors go in and out of the vehicle. Obviously it is normal thing that needs only a little bit of tweaking, like in this text tutorial. https://docs.unrealengine.com/latest...nts/index.html, But Step 7 is not working in 4.11 (4.10 is). So I think the angular limits are bugged (not only not visible but you are not changing the point they are facing to apply the limit no matter how you rotate component )Click image for larger version

Name:	eight.png
Views:	1
Size:	980.3 KB
ID:	1180775 and after rotation, the component rotates, but limits are looking the same way as before Click image for larger version

Name:	nineth.png
Views:	1
Size:	978.5 KB
ID:	1180776, the doors are still behaving the same like you did not rotate anything Click image for larger version

Name:	third.jpg
Views:	1
Size:	451.7 KB
ID:	1180772. So I tried to use angular offset which works when you want the doors to be free from the very beginning of playing. Click image for larger version

Name:	nvm.png
Views:	1
Size:	949.4 KB
ID:	1180782 and you get in game the desired effect of 90 degrees rotation (a bit too much for doors to open but you get the point )Click image for larger version

Name:	fourth.jpg
Views:	1
Size:	438.5 KB
ID:	1180787, but since I want it to be working as I said, at first everything locked and then one axis free, we can try to lock everything and keep offset. Click image for larger version

Name:	fifth.jpg
Views:	1
Size:	447.4 KB
ID:	1180794 and we will get this result Click image for larger version

Name:	sixth.jpg
Views:	1
Size:	473.4 KB
ID:	1180795 I just hit play, and nothing else. No blueprint triggered. So this is what I am trying to explain for quite a while. I hope some of you understand. I have really shi**y computer and I cannot record videos of unreal at the moment. The only recording program that was able to capture it has expired.(DEMO). Nevermind, cheers.
Working...
X