Login
Log in with
Search in titles only
Search in C++ Gameplay Programming only
Search
Advanced Search
Forums
New Topics
Today's Posts
Development Discussion
C++ Gameplay Programming
Announcement
Collapse
No announcement yet.
Learning c++ ...I've got an error
Collapse
X
Collapse
Posts
Latest Activity
Search
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
template
Next
sensationalgames
Patron
Join Date:
Dec 2015
Posts:
30
#1
Learning c++ ...I've got an error
05-15-2016, 11:19 AM
Hi...
I'm programming the MeleeWeapon class...
It says that I can't convert from "AWardSword::WardCharacterCharacter*" to "AActor*"...how can I resolve?
I've searched for find error with the book, but there aren't.
How can I resolve?
HELP ME!!
MPalacios
Samaritan
Join Date:
Jul 2015
Posts:
101
#2
05-15-2016, 02:01 PM
Cast<AActor>(WeaponHolder);
Returns nullptr if cast failed or AActor* if successful.
Comment
Post
Cancel
Previous
template
Next
Working...
Yes
No
OK
OK
Cancel
X
Comment