Announcement

Collapse
No announcement yet.

[OPEN-SOURCE] Machinery Modelling Toolkit

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

  • replied
    Heyyy, I combined X0 Y90 Z90 with the body rotation and rotated the relative mount position and it works!

    Leave a comment:


  • replied
    I tried adding relative position. Without rotating it with the main body, the position is ok, but after rotating from the body rotation it it's rotated 90deg X and 90deg Z.
    Click image for larger version

Name:	20200318-19_13_54Suspension.png
Views:	83
Size:	86.6 KB
ID:	1734319
    Attached Files

    Leave a comment:


  • replied
    Didn't work with sockets or bones ;( The main body component is skeletal mesh component with physics simulation. Its bones location are still rotated. How else can I define points relative to the center of the physics body?
    Click image for larger version

Name:	20200318-18_28_37Suspension.png
Views:	84
Size:	64.5 KB
ID:	1734299
    Click image for larger version

Name:	20200318-18_29_30ThunderX--Unreal-Editor.png
Views:	79
Size:	450.8 KB
ID:	1734298
    Attached Files

    Leave a comment:


  • replied
    BoredEngineer Ok makes sense. The parent is physics simulating, everything else is flat underneath it, but doesn't simulate. So I just have to switch to using bones locations and everything will work, right? Thank you

    Leave a comment:


  • replied
    AddForceAtLocation requires a physics simulating component as input, it won't work on anything else. The location is in world space, so should be easy to debug.

    What "GetTransform - Component" does is crawls over the hierarchy of components till it gets to the first physics simulating component and then calculates final transform backwards. This does fails sometimes if root component is not physics body. Like that bottom MMTGetTransform - Comp has "self" as input value which won't going to work correctly, instead it should be physics simulating component or a child of one.

    Leave a comment:


  • replied
    Hi, I have a problem with Get Transform - Component in the latest version of the plugin in UE 4.23.4
    Both Physics Constraint Component and custom blueprint Scene Component return wrong location. The pink squares are the debug points in the location of the suspension mount component where I add force. It should be where the red arrows are pointing. The real locations of those components are correct, they aren't really where the pink squares are.

    Click image for larger version  Name:	20200317-18_50_37ThunderX--Unreal-Editor.png Views:	0 Size:	375.4 KB ID:	1733853

    I tried rotating it, the directions are ok then, but it's wildly offset by a couple of meters.
    Click image for larger version  Name:	20200317-18_55_20Suspension.png Views:	0 Size:	108.7 KB ID:	1733854
    Click image for larger version  Name:	20200317-18_57_24ThunderX--Unreal-Editor.png Views:	0 Size:	255.9 KB ID:	1733855

    Add force at location is wrong as well, but it just take X vector as the Y vector. I checked the code, can't find any errors. The main parent body isn't rotated as well. The stock add force and get transform work ok, no problems there. Please help.
    Last edited by Afromofo; 03-17-2020, 02:02 PM.

    Leave a comment:


  • replied
    Wonderful plugin

    Leave a comment:


  • replied
    Can this be used for commercial use? This is exactly what I've been looking for, I'm making an FPS and this is a requirement lol. Also you should make a market place page, so you can get some sweet money

    Leave a comment:


  • replied
    Originally posted by BoredEngineer View Post

    Just pushed 4.24 version to the master. There are some small changes. What would be cool is to get rid of all warning about PCHs.
    Thank You!

    Leave a comment:


  • replied
    Originally posted by Thunder_Owl View Post
    Hello. I did check on github, is it so that 4.24 version of plugin does not exist yet? Or am I looking wrong place maybe Thank You!
    EDIT: hmm looks like i got it recompiled myself for 4.24. Will test later. If looks okay, can upload binaries to Gdrive.
    Just pushed 4.24 version to the master. There are some small changes. What would be cool is to get rid of all warning about PCHs.

    Leave a comment:


  • replied
    Hello. I did check on github, is it so that 4.24 version of plugin does not exist yet? Or am I looking wrong place maybe Thank You!
    EDIT: hmm looks like i got it recompiled myself for 4.24. Will test later. If looks okay, can upload binaries to Gdrive.
    Last edited by Thunder_Owl; 01-13-2020, 08:00 AM.

    Leave a comment:


  • replied
    BEST PLUGIN EVER !

    It's exactly what i need for years ! Now I can use sub-stepping to make some car physics simulations in BP, really need a 4.24 version !

    Leave a comment:


  • replied
    Originally posted by BoredEngineer View Post

    Ohh wow, had no idea that this is going on. I haven't made code in a way that it would work differently on debug or non-debug. Is there are a way to combat this more permanently? I mean it will probably effect a lot of other code, not only this function alone.
    From what I have read there have been a number of issues with optimizations and VS 2019, Nothing much we can do, but the developers are fixing them. From what I can see this one is now fixed (I am now on VS 2019 Preview 16.5.0 Preview 1.0) I have been able to remove the pragmas and the model seems stable in release mode now!

    Many thanks for making the code available, keep up the good work!

    Leave a comment:


  • replied
    With 4.23.1, MMT_Content still crashes on opening project. This project consist largely of BPs and was migrate through 15 versions of UE4. As its meant for education, you can study it in 4.22 and migrate individual content into feature version of UE4.
    Maybe crashing will be solved with migrating to 4.24, will see.

    Leave a comment:


  • replied
    Originally posted by 8inkolot View Post
    nstallation:
    Content example together with compiled plugin, can be found here:
    https://github.com/BoredEngineer/MMT_Content
    You don't have to use Git to get a copy of it, there is a button "Download ZIP "to get a zip archive of the repository.
    C++ source code is included for your convenience, you don't have to do anything with it.
    To use plugin in your own project just copy folder "Plugins" from this repository into main folder of your project. Blueprint projects will pick it up automatically. For C++ project you need to regenerate your solutions file.
    Compiled version of the MMT_Content can be downloaded from here:
    [MMT Content Compiled]

    I am lost here....Am I suppose to to copy the whole MMTContent folder into the plugins folder I made in the project folder?...What you have stated above... I see no Plugins folder other than the one I made.

    MMT_Content is a UE4 project with examples on how to use plugin and MMT_Plugin is only the plugin itself.
    So in order to use plugin in your own projects you need to copy contents of the MMT_Plugin repo into [your project main folder]/Plugins/MMT/
    Or copy paste MMT_Content/Plugins/ folder into your project.
    Last edited by BoredEngineer; 12-01-2019, 09:09 AM.

    Leave a comment:

Working...
X