Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Abstergo

Members
  • Content Count

    6
  • Joined

  • Last visited

Community Reputation

3 Neutral

About Abstergo

  • Rank
    Newbie

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Thanks Josh, that did the trick.
  2. In the UpdatePhysics method for coin, I'd test for the distance between the player's vector and your coin's, then call the function for the pickup when it's in range. I don't know the Lua equivalent but in C++ you'd need to call this: virtual float DistanceToPoint(const Vec3& p); For example: Vec3 v3_first = Vec3(0.0); Vec3 v3_second = Vec3(1.0); v3_first.DistanceToPoint(v3_second); // Will return distance between Vec3(0.0,0.0,0.0) and Vec3(1.0,1.0,1.0)
  3. Hey gang, I'm running into an issue with lighting an object. I have a Model I'm using to produce a floor, which currently just places 10 by 10 1x1 Surfaces in a flat grid. I also have a light hanging overhead, a Spotlight angled straight down in the center. As you can see the light cuts off right down the centerline Z axis of the object, leaving a semicircle illuminated. I initially thought this was tied to specific coordinates, however I get the problem wherever I place the object & light. I've tried a Pointlight, with the same results. The floor is generated in the Attach
  4. The subject itself is out of my depth, but I'd always stay as close to spec as possible. I don't know how authoritative those individual comments are and what kind of user share they represent, but I'd expect other developers to base their work off the specs, even if initial research yields conflicting information. That is why they exist. If that is the official spec and it covers this question, there is a standard and that is it.
Facebook Twitter Youtube Github Steam
×
×
  • Create New...