CreatePlayerObject
#1

I noticed an issue with the island objects, if they are player objects and you look at them at a certain angle, the object disappears (All but the origin).

Reply
#2

What is the view distance you specified when you used CreatePlayerObject() to create that player object?

Also, I noticed you created this player object a long way out from the coast... what are your world boundaries set to?
Reply
#3

The distance is default and I never set the boundaries. It usually disappeared when I would zoom in, to get close to the object, however, if I spawned and ran/drove around it was fine
Reply
#4

Are you using some editor script to place your camera away from the object?

Or are you using some type of external (not SA-MP functions) camera hack to move your camera around?

Edit:
We think what is happening is the old rendering bug in GTASA (not SA-MP) which would corrupt the object when you look at it from certain angles. You would see a jumble of polygons. Anyone who has done mapping would be familiar with this issue. The default draw distance for those modular island objects is 299m which means it uses GTASA to render them.

The way to confirm and fix this would be to set the draw distance parameter to 300 or above when you use CreatePlayerObject. When the draw distance is 300+ SA-MP does the rendering instead of GTASA and it will not be corrupted.

Let us know what happens.
Reply
#5

I have similar problem and I tried as you said and same problem.
Reply
#6

I'll give that a go. The first person camera thing was from the flymode.pwn default script
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)