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"

Make Balls follow a path and react to physics and collision on that path.


I am working on a game where you control balls in a tube and smash them into other balls. Now, I have worked out a way to do this using splines and this tutorial: https://forums.unrealengine.com/showthread.php?24522-Tutorial-Blueprint-Spline-locked-sidescroller-%28e-g-Klonoa-Pandemonium-style-game%29

But this way makes it inpossible to use physics for collision and momentum and I have to script it manually in blueprint. Is there a an easier way to do this or do i have to fake the physics through blueprint by adding to the "Distance along spline" variable as the ball gets hit.

Product Version: Not Selected
more ▼

asked Dec 08 '14 at 06:37 PM in Blueprint Scripting

avatar image

1 1 1 3

(comments are locked)
10|2000 characters needed characters left

2 answers: sort voted first

if you need a spring, maybe you could try physics constraints: https://docs.unrealengine.com/latest/INT/Engine/Physics/Constraints/ConstraintsReference/index.html https://docs.unrealengine.com/latest/INT/Engine/Physics/Constraints/ConstraintsBlueprints/index.html

or write your own spring physics:

 springAccel = ( spring Offset * -springStiffness)- ( springVelocity * Damping )
more ▼

answered Dec 08 '14 at 11:39 PM

avatar image

9.5k 317 202 449

avatar image IllusiveBear Dec 09 '14 at 07:00 AM

I will look into this. Thank you

(comments are locked)
10|2000 characters needed characters left

Try making the ball an AI and use a simple move to actor.

more ▼

answered Dec 09 '14 at 12:13 AM

avatar image

2 stooges
100 17 26 36

avatar image IllusiveBear Dec 09 '14 at 07:00 AM

Will look into this

(comments are locked)
10|2000 characters needed characters left
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