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"

Sweeping rotation about an axis

I'm making a pinball game. How can I pivot my flippers about an axis over time? I've found ways to rotate the pawn about the center over time, and ways to rotate about an axis instantaneously, but not over time.

Apparently I can't just move the pivot of the pawn anymore.

Thanks!

Product Version: Not Selected
Tags:
more ▼

asked Feb 15 '15 at 01:39 AM in Blueprint Scripting

avatar image

Fej
6 2 3 3

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

2 answers: sort voted first

Found an answer myself.

If you make a model in Blender, it takes the origin to be the pivot.

more ▼

answered Feb 16 '15 at 04:49 PM

avatar image

Fej
6 2 3 3

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

I think you'll just want to set the rotation of the flippers using a curve and a lerp. This tutorial video has a good example (ignore the title, this particular video is mainly blueprint): https://www.youtube.com/watch?v=sp5vd1AEDBY#t=57

more ▼

answered Feb 15 '15 at 02:02 AM

avatar image

Lojo
90 2 2 9

avatar image Fej Feb 15 '15 at 03:31 AM

But when I do the rotation, the flipper rotates about its center. I don't know how to make it rotate about some other axis.

avatar image Marius Irgens Aug 24 '16 at 06:43 AM

I see this is an old question. But in case anyone wonders, to "change" the origin of an object (the pivot point), make a new scene component in the blueprint, then place whatever you want to pivot inside this scene component. Now you can move your object around to change pivot point, and then rotate the scene component.

(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