Ooops
May 26, 2020, 06:55:44 PM

Author Topic: TFormPoint  (Read 412 times)

Offline JBR

  • Jr. Member
  • **
  • Posts: 91
TFormPoint
« on: December 22, 2019, 01:19:35 AM »
Hi using B3D the command TFormPoint(b.x#, b.y#, b.z#, 0, G_Camera) works fine.

I'm converting to BMax and Minib3d and it throw up an error on the '0' - should be an entity.

I've done dummy = createcube() and tried TFormPoint(b.x#, b.y#, b.z#, dummy, G_Camera) and it seems to work fine.

I'm no expert but is this ok.

Thanks in advance, Jim.



Offline col

  • Sr. Member
  • ****
  • Posts: 441
Re: TFormPoint
« Reply #1 on: December 22, 2019, 02:03:05 AM »
Hiya,

Instead of using '0' for null object instances Max uses 'Null'.

Code: [Select]
TFormPoint(b.x#, b.y#, b.z#, Null, G_Camera)
To be is to be perceived.

https://github.com/davecamp

Offline JBR

  • Jr. Member
  • **
  • Posts: 91
Re: TFormPoint
« Reply #2 on: December 22, 2019, 03:03:46 PM »
Thanks col.

 

SimplePortal 2.3.6 © 2008-2014, SimplePortal