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"

Hitbox along sloped Surface / Ground (Wildstar)

Hi guys,
I've been thinking about how to handle this problem. In my third person game, I want the player to be able to aim on two axis, forward and right (not up/down). I'm using hitboxes for the attacks.

Now a problem arises: I want the player to be able to shoot up or down slopes, without having to aim up/down. The hitbox needs to adapt to the ground.
I've created a fine piece of art presenting the problem:

alt text

The red box is the hitbox. Brown is the ground and black is the player character.
The attack hitbox must conform to the ground, and the hitbox needs to be a single object, not multiples in a row if possible.

How would I tackle this? I think another game that uses a similar system is Wildstar. I'd love to know how they did their system, or at least how I could tackle this problem. Decals kinda behave like I want but I don't think they can be used for attack hitboxes.
Any tips?

Thanks for your time and help guys!

Product Version: UE 4.19
more ▼

asked May 04 '18 at 05:03 PM in C++ Programming

avatar image

176 12 19 191

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

0 answers: sort voted first
Be the first one to answer this question
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