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"

Sphere Physics Question

I am trying to get a sphere to move around a pong table using physics been trying to fix this for days now and i can't figure it out.

Product Version: Not Selected
Tags:
more ▼

asked Apr 09 '14 at 02:24 AM in Blueprint Scripting

avatar image

EternalSt0rm
16 4 5 7

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

4 answers: sort voted first

Hello,

If your shpere movements are physics based you could use Add impulse/force function in blueprint (make sure that simulate physics is enabled).

EDIT: here's a small demonstration how to do so : alt text

you also can check this question for other techniques regarding your case

more ▼

answered Apr 09 '14 at 08:43 AM

avatar image

HoOz
357 24 29 46

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

its not a player based ball though its just a physics object that the players hit around

more ▼

answered Apr 09 '14 at 12:43 PM

avatar image

EternalSt0rm
16 4 5 7

avatar image HoOz Apr 09 '14 at 01:00 PM

Still the same concept I believe !

Instead of controlling it with movements inputs, you can apply force directly to your sphere when something happens(event,inside loop,condition..etc.)

Note that force here is a vector so for example if your up vector is Z you can apply a force vector like this (0,0,1500).

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

here check out this screenshot. thi is wat i got and it should be working. http://puu.sh/820J0.png

more ▼

answered Apr 09 '14 at 01:08 PM

avatar image

EternalSt0rm
16 4 5 7

avatar image HoOz Apr 09 '14 at 01:18 PM

Adding force to an object is good for adding a burst overtime

if you want a shot (one time instant burst) then you should go with Add Impulse function

EDIT: sorry for not explaining that in my previous comment

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

i have man its not doing anything. it falls to the ground and just rolls around in place. see http://puu.sh/821r2 the forces isnt doing anything

more ▼

answered Apr 09 '14 at 01:22 PM

avatar image

EternalSt0rm
16 4 5 7

(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