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"

Can you use the character class for a vehicle?

I'm trying to make a race game so I started by using the wheeled vehicle blueprint class but it is more complex than I needed and it doesn't have some of the features I need, plus there is no AI yet. My next option was to use the basic Pawn class and build the vehicle movement myself but I'm curious if I can just use the character class instead?

The vehicles have a skeletal mesh and driver (who has winning and losing animations). Plus there are special features of the character class that I need, and I know it allows for animations, and easy access to the movement component. There is also the added advantage of the AI system which would be a lot easier than having to make my own.

However the main part that's making me doubt if I can use the character class is the documentation mentions a "walk" component. I'm not sure what that fully involves as I've seen quite a few characters that glide instead of walk, and some that don't even have feet that use the character class. Is there any extra info on what the "walk" component is or what it does different to a basic move component? Also is there any reason why I wouldn't be able to use the character class ?

Product Version: UE 4.9
more ▼

asked Sep 09 '15 at 08:42 PM in Using UE4

avatar image

1 1 2 4

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

1 answer: sort voted first

No theres no reason. A character is a pawn class just with a character mvoement component added. Character inherits from pawn which inherits from actor which inherits from object.

When something is gliding its just got no animation for moving. When something with no legs moves... its just moving.

You dont think characters/pawns/actors/whatever class has something moving actually physically walk over and around hte game world via WASD do you?

more ▼

answered Sep 09 '15 at 09:11 PM

avatar image

1.8k 67 27 137

avatar image dragonlightning Sep 10 '15 at 12:26 PM

That's pretty much what I thought but I wasn't sure if I had missed something. No I didn't think the character physically walked, especially since my first attempt had the character too high in the root motion capsule and hovering over the ground lol, I just didn't know why they placed importance on it being a "walk" component instead of just a movement component. Thanks

(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