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"

Dragging and Dropping a Simple Cube

alt text

Not sure what I am doing wrong here honestly. Looking at this it makes sense to me. I tried looking around for an answer but couldn't really figure it out. When I click it, it should be updating the location of the actor this blueprint is attached to, right?

To be honest I'm not exactly sure how get player controller works, as I have no "player", but rather just a camera the player can observe from.

Product Version: UE 4.10
Tags:
6c2ad002ad[1].png (259.6 kB)
more ▼

asked Apr 13 '16 at 03:50 AM in Blueprint Scripting

avatar image

SerWind
1 1 3 5

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

1 answer: sort voted first
  • Is physics enabled on your cube? Moving the cube via set location doesn't work for me when physics is turned on.

  • Is your controller the object that's actually moving? If you're in a tutorial, it probably is, but sometimes the controller stays still while just the pawn moves. You can check by printing out the location that you're trying to use and make sure it's actually changing.

more ▼

answered Apr 13 '16 at 04:00 AM

avatar image

CleanCut
2.1k 67 84 77

avatar image SerWind Apr 13 '16 at 04:45 AM

I'm not actually doing a tutorial, just trying to hash things out via google and exploration. As I said, not really sure what the controller is, as all I have is this cube, another cube made into a floor, and a camera to look down. Here's the perspective with the object list on the right. Disabling physics didn't change anything, sadly.

alt text

avatar image CleanCut Apr 13 '16 at 04:55 AM

Oh, I see. You're at the very, very beginning.

A player controller is what handles input from a human and then based off that input runs your code (or blueprints) to do...whatever you tell it to.

If you don't create your player controller, a default one will be created for you. I've never attempted to pass input directly to an actor as you appear to be trying to do.

My suggestion would be to search for a tutorial that is somewhat related to the genre of project you want to work on, and follow that along and learn a bit more.

It took me several weeks of tutorials and some coaching from another UE developer before I started to feel comfortable with some parts of this engine.

Good luck!

(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