How do I create linked rigid bodies?
I originally wrote my own 3D engine in OpenGL + Bullet Physics (and a bunch of other libraries) in order to make a virtual creature evolution simulation. I now want to try to do the same in Unreal Engine 4. Unfortunately, I have no clue where to start or how to do anything, since examples either do not exist or use blueprints (I want to use C++). Could any of you give me some code snippets for creating some rigid bodies and linking them together with motorized joints, or at least point me in the right direction?
Thank you for any help you can offer.
asked Apr 18 '14 at 04:48 AM in C++ Programming
I have a video on this topic here
in my case the joints were not meant to allow any mobility, but I could have just as easily done that
The key word for your entire goal is this:
Look up some info here on this answer hub with that keyword
I've posted elsewhere on this topic
EDIT nvm its hard to find stuff that way
here's how you create the component:
Here's how you activate the constraint:
Assuming you are linking two static mesh actors.
All properties are set via
check out the source code for "ConstraintInstance.h"
it has all that you want.
Limit motion, limit angles!
or Lock things all together!
Follow this question
Once you sign in you will be able to subscribe for any updates here