Forums

OverviewV-Play 1 SupportEntityBaseDraggable colliderComponent compatible with ColliderBase? › Reply To: EntityBaseDraggable colliderComponent compatible with ColliderBase?

OverviewV-Play 1 SupportEntityBaseDraggable colliderComponent compatible with ColliderBase? › Reply To: EntityBaseDraggable colliderComponent compatible with ColliderBase?
#4574

hener.stephan

hi chris,

nevermind my problem, i found another way to solve it without using a colliderBase

 

my issue was that i had several shapes that use largely the same code in their colliders with the exception of the area of the collider,

so i wanted to put the code for the colliders in the colliderBase in my base class and wanted to define the area via the fixtures property in the shape sub classes

 

now i just define the colliders in the sub class and just use functions to avoid the duplicate code

cheers

stephan

 

 

 

Voted #1 for:

  • Easiest to learn
  • Most time saving
  • Best support

Develop Cross-Platform Apps and Games 50% Faster!

  • Voted the best supported, most time-saving and easiest to learn cross-platform development tool
  • Based on the Qt framework, with native performance and appearance on all platforms including iOS and Android
  • Offers a variety of plugins to monetize, analyze and engage users
FREE!
create apps
create games
cross platform
native performance
3rd party services
game network
multiplayer
level editor
easiest to learn
biggest time saving
best support