Rasie1
(Rasie1)
July 14, 2020, 6:45pm
24
zoomyjs:
I take it back this engine is far from pure garbage… definitely there is a learning curve as with anything. Its been a few days and I pretty much have the hang of c++ I’ve already made a controller class that moves around added Ucomponents set timers(UE4 crashed about 10x till i found out you cant keep timers in the constructor) even made a class that disables objects out of range of the player. The coding isn’t hard just much more of it. In unity its OnTriggerEnter(Collider other) in UE4 its void OnBoxBeginOverlap(UPrimitiveComponent* OverlappedComp, AActor* OtherActor, UPrimitiveComponent* OtherComp, int32 OtherBodyIndex, bool bFromSweep, const FHitResult& SweepResult); lol
Only problem now is calling animations. I can’t find much information or tutorials for calling animations from C++ and when I do find one its just someone saying don’t call animations from C++ and do it from blueprints(which i hate). Anyway I’m definitely not going back to unity UE4 is just tooo pretty
It’s easy to make C++ functions that are callable from Blueprints and Blueprint functions that are callable from C++. You don’t have to use only Blueprints, but for most stuff dealing with assets it’s convenient to have Blueprint layer