Search in

Sort by:

Everything C++ Programming

Current Space

Question Status:

All Questions With Answer With Accepted Answer

Quick results

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

To summarize this code: First call AddActorWorldOffset() with sweep. Then if there is a hit, call it again without sweep. This platform will not go through objects even though the second time AddActorWorldOffset() is called, it is without sweep.

This code only calls AddActorWorldOffset once, without the sweep. This platform will go through walls, floor, etc. but not the player Character, which it bumps.

What's going on here?

Note that this is a simplified version of my code, but still the one I am currently testing with; the original functionality was to change direction at walls and bump player characters that were hit, but I found the player character was still somehow blocking the platform and making it fall behind (the timing of platforms is important for my game). Also: yes I know how I should use a timer, that's the next thing I'll implement, I swear it!