x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Need Help on using physics thrusters to make a vr actor fly

http://imgur.com/a/WNthj Here is a screenshot of my actor and code. Nothing happens. Literally nothing happens, please help. The code for the right hand is the same as the left hand code. Physics is enabled on the capsule.

Product Version: UE 4.15
Tags:
more ▼

asked Apr 18 '17 at 03:55 AM in Blueprint Scripting

avatar image

_SuperSteel
1 1 5 4

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

2 answers: sort voted first

As I understand your initial thrust is set to zero with an increase of +1000 per second. Considering a human sized character this would that more than a minute of thrust to start moving up. I've not seen this said anywhere but the minimum thrust (force) to actually do anything like what you want can be calculated simply by:

Fmin = mass of moving parts X gravity (in cm/s^2) = mass X 980

This is simply the Force of gravity in Newtons in kg*cm/s^2 because the length unit of Unreal is centimeters instead of meters (which is a more usual value).

Lower than this: slows falling, can't go up (less than gravity).

Equal to this: stops falling, can't go up.

Larger than this: starts to go up.

Instead of applying a value by itself why not use something like 100% Fmin, 110% Fmin, 120% * Fmin? Enter the mass of moving meshes as a variable so it can be reused without worrying about finding the right values each time.

Just as a reference some Force values in kg*cm/s^2:

Force of gravity on an apple: 100

Force of gravity on a average-sized human (80kg): 78.000

Human Punch (martial artist): 300.000

Sports car engine (varies a lot): 1.500.000

Space shuttle lift-off: 1.764.000.000

more ▼

answered Apr 21 '17 at 10:17 PM

avatar image

Alex Mees
1

avatar image _SuperSteel Apr 24 '17 at 01:47 AM

I tried values as hight as 1 mil but it doest work

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

Thruster is applied only to mesh it's attached. If you wanna fly like a Iron Man, you should move actor itself to the location of physics mesh (character probably). And don't forget about vector calculation (from motion controllers location) and setting rotation to your thruster every frame.

more ▼

answered Apr 22 '17 at 04:53 PM

avatar image

Two-faced
842 31 13 47

avatar image _SuperSteel Apr 24 '17 at 01:46 AM

So I should have two actors?

avatar image Two-faced Apr 24 '17 at 08:13 AM

No. Why tho?

avatar image _SuperSteel Apr 28 '17 at 01:24 AM

What should i do to to get this to work

avatar image Two-faced Apr 28 '17 at 06:10 AM

First of all, figure out how thruster works. That's how I walked this way: 1) create a simple actor with capsule collision as a root component 2) set capsule to visible and not hidden in game 3) add static mesh component (let it be sphere tho) 4) set physics enable to sphere, but no gravity. 5) add thruster to the sphere/capsule and set it force to the 10000 6) play with different settings and you will see how it works.

I'm sure, after 1 hour you will be the most proficient dude with physics at this Hub) Enjoy!)

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question