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"

how to create a negative radial force ??

hello all,

i have this concept for a game that i have this mesh Ball pawn character. i want for the character when he falls between teeth of a Gear_Sprites. to get stuck there or be hold there while the gear is rotating, even against gravity. so when the character in the right posing i can use Jump or some impulse to go to another Gear out there.

however i tried with : - have sphere collision ,so when the ball begin overlap apply a radial force, but it dose not seem to work or i don't know how to make it negative,, i tried with negative force value , but still no luck, - i tried with normal force but it seems to be impossible when the gear head down the ball will fall down

any idea how i can go about this concept.

thanks in advance

Product Version: UE 4.9
more ▼

asked Sep 22 '15 at 12:38 AM in Blueprint Scripting

avatar image

27 6 10 13

avatar image Jacky Sep 22 '15 at 12:51 AM

How much force are you applying? You may need very high values(negative for implosion of course) depending on scale of the objects. Also make sure you place the radial force to the center of the gear.

avatar image sarkawt909 Sep 22 '15 at 01:47 PM

i was applying from 10 to 1000000000 i tried every thing with "+" and "-" but no result with radial Force / Impulse, however i approached the concept using physics constraint, it works better for what i had in mind.

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

2 answers: sort voted first

Maybe you could use physics constraints to temporarily lock the character to the gear?


more ▼

answered Sep 22 '15 at 06:56 AM

avatar image

205 15 25 37

avatar image sarkawt909 Sep 22 '15 at 01:44 PM

thanks for your recommendation,, that was exactly what i was looking for as the "Radial Force / Impulse" was not the effect i was looking for, thanks again,

note 1/ i used "physics Constraint" instead of "Physic Constraint Actor" as i am generating the Gears bluePrints randomly in space,

note 2/ it is better to set the Constraint Limits pragmatically inside the blupring, rather than setting them from the Detail Pan, as if you want to set the limits FREE for example you can , as in my case for some reason i was not being able to set the limits free when i blocked them from the Detail Pan

avatar image hiili Sep 23 '15 at 01:06 PM

No problem, and thanks for your observations about the constraint! I haven't used it yet myself but probably will need it at some point.

edit: uh, didn't know that commenting un-accepts an answer..

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

You'll probably have to temporarily turn off "Simulate Physics" and implement your "radial force" vector for the duration of your effect. The force vector would have to be from the center of your character actor to the center of the gear. Once this radial force is no longer applied, you'd have to re-enable 'simulate physics'.

You'll also need to figure out how to change the orientation/rotation of your character as they spin around the gear wheel.

more ▼

answered Sep 22 '15 at 02:27 AM

avatar image

834 50 29 74

avatar image sarkawt909 Sep 22 '15 at 01:38 PM

thanks, so the Radial Force is not working if there is simulate physics enabled? or perhaps only set gravity to Zero ?

(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