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"

How to create a slippery slope?

Hi,

I wanted to make a sliding slope similar to the ones found in Super Mario 64. Are there existing blueprints/instructions how to make one? If not, where should is start?

Example from Mario 64: https://www.youtube.com/watch?v=R5eyPx_TFyo

Product Version: UE 4.18
Tags:
more ▼

asked May 09 '18 at 06:55 AM in Using UE4

avatar image

ArcaneVulpex
1

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

1 answer: sort voted first

Use impulse or add movement.

I used actor with simple collision box to define slide volume, and arrow component to set world space vector for slide direction.

When player enters this collision box - I send him an event that he is in sliding area with parameters: 1. boolean ShouldSlide 2. vector SlideDirection

In his Tick function ShouldSlide (true) activates simple AddMovementInput function with SlideDirection.

When player is out of collision box - I also send him event that deactivates sliding (ShouldSlide = false).

This approach works well if you disable all other input/controlls during sliding.

In case you need any controls during sliding - try to experiment.

There are few more things here, like change max speed and disable jump.

more ▼

answered May 09 '18 at 09:02 AM

avatar image

redbox
4.2k 80 16 103

(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