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"

Rotation and orbit rotation

Hey guys Need a little help. I'm trying to recreate the solar system and need some help with rotation and orbit rotation. I got standard rotation sorted so the sphere rotates on the Z axis but how do I get an orbit effect along with a sphere rotating around another but keeping the same side of it facing the sphere it is facing? In simple terms the moon as we only see one side of it.

Blueprint and matinee only please. I've had people put code up on the blueprint section and I DO NOT WANT CODE! Thanks in advance guys!

Product Version: Not Selected
Tags:
more ▼

asked Mar 08 '15 at 11:19 PM in Blueprint Scripting

avatar image

Raiden58237
92 13 21 26

avatar image Mortusnyte Mar 09 '15 at 06:12 AM

Would this help? alt text

I used a Tick Event for the sake of the example but you can use what works best for you.

earth.png (114.5 kB)
avatar image Raiden58237 Mar 09 '15 at 10:36 PM

How are you referencing in the Earth and the Sun? At the moment I only got each planet setup in there own individual blueprint all doing the exact same thing only some planets spin either faster or slower then the earth cos that is there speed.

alt text

ue4.jpg (379.7 kB)
avatar image Mortusnyte Mar 09 '15 at 10:49 PM

I created a new variable and set its Variable Type to Actor then named it Earth, did the same for Sun. In your case, you could directly set the Variable Type to Earth, Jupiter, etc... Since they would all need their own variable reference.

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

1 answer: sort voted first

I've sorted it now. I ended up putting the moon into the same blueprint as the Earth and made it spin on the center axis of the Earth, that way the same side of the moon is always facing Earth like it does and it still orbits around it. Thank you for your help anyway. It is appreciated.

more ▼

answered Mar 10 '15 at 01:12 AM

avatar image

Raiden58237
92 13 21 26

avatar image ericmeng23 Oct 28 '15 at 04:52 AM

Can you post a screenshot of your blueprint? I've run into the same problem and can't seem to get past it. Much appreciated!

avatar image Raiden58237 Nov 03 '15 at 01:07 PM

Hi there. I'm afraid I can't as I deleted the project a few months back. Sorry.

(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